Methods

Class/Module Index [+]

Quicksearch

Fog::Storage::IBM::Volumes

Public Instance Methods

all() click to toggle source
# File lib/fog/ibm/models/storage/volumes.rb, line 12
def all
  load(service.list_volumes.body['volumes'])
end
get(volume_id) click to toggle source
# File lib/fog/ibm/models/storage/volumes.rb, line 16
def get(volume_id)
  begin
    new(service.get_volume(volume_id).body)
  rescue Fog::Storage::IBM::NotFound
    nil
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.