Fog::Collection
# File lib/fog/cloudstack/models/compute/volumes.rb, line 12 def all data = service.list_volumes["listvolumesresponse"]["volume"] || [] load(data) end
# File lib/fog/cloudstack/models/compute/volumes.rb, line 17 def get(volume_id) if volume = service.list_volumes('id' => volume_id)["listvolumesresponse"]["volume"].first new(volume) end rescue Fog::Compute::Cloudstack::BadRequest nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.