class Fog::Volume::SakuraCloud::Archives

Public Instance Methods

all() click to toggle source
# File lib/fog/sakuracloud/models/volume/archives.rb, line 10
def all
  load service.list_archives.body['Archives']
end
get(id) click to toggle source
# File lib/fog/sakuracloud/models/volume/archives.rb, line 14
def get(id)
  all.find { |f| f.id == id }
rescue Fog::Errors::NotFound
  nil
end