# File lib/fog/hp/models/block_storage/volumes.rb, line 10 def all data = service.list_volumes.body['volumes'] load(data) end
# File lib/fog/hp/models/block_storage/volumes.rb, line 15 def get(volume_id) volume = service.get_volume_details(volume_id).body['volume'] new(volume) rescue Fog::HP::BlockStorage::NotFound nil end