Sha256: 7ce9817ccdc2cb86a3d02c375ebc75504067fb824875a2c331dd2df5875d0c4a
Contents?: true
Size: 619 Bytes
Versions: 13
Compression:
Stored size: 619 Bytes
Contents
require 'fog/ecloud/models/compute/storage_usage_detail' module Fog module Compute class Ecloud class StorageUsageDetailSummary < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::StorageUsageDetail def all data = connection.get_storage_usage_detail_summary(href).body[:VirtualMachines][:VirtualMachine] load(data) end def get(uri) if data = connection.get_storage_usage_detail(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems