class Fog::Compute::Ecloud::StorageUsageDetailSummary
Public Instance Methods
all()
click to toggle source
# File lib/fog/ecloud/models/compute/storage_usage_detail_summary.rb, line 11 def all data = service.get_storage_usage_detail_summary(href).body[:VirtualMachines][:VirtualMachine] load(data) end
get(uri)
click to toggle source
# File lib/fog/ecloud/models/compute/storage_usage_detail_summary.rb, line 16 def get(uri) if data = service.get_storage_usage_detail(uri) new(data.body) end rescue Fog::Errors::NotFound nil end