class Fog::Storage::IBM::Volumes

Public Instance Methods

all() click to toggle source
# File lib/fog/ibm/models/storage/volumes.rb, line 10
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 14
def get(volume_id)
  begin
    new(service.get_volume(volume_id).body)
  rescue Fog::Storage::IBM::NotFound
    nil
  end
end