Fog::Collection
# File lib/fog/openstack/models/compute/volumes.rb, line 11 def all(detailed=true) load(service.list_volumes(detailed).body['volumes']) end
# File lib/fog/openstack/models/compute/volumes.rb, line 15 def get(volume_id) if volume = service.get_volume_details(volume_id).body['volume'] new(volume) end rescue Fog::Compute::OpenStack::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.