Sha256: 32fdc82bd11e386facb5f2137949984ba97914b68ee2ead61a510216686c1442
Contents?: true
Size: 619 Bytes
Versions: 17
Compression:
Stored size: 619 Bytes
Contents
require 'fog/ecloud/models/compute/memory_usage_detail' module Fog module Compute class Ecloud class MemoryUsageDetailSummary < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::MemoryUsageDetail def all data = service.get_memory_usage_detail_summary(href).body[:MemoryUsageDetailSummary][:MemoryUsageDetail] load(data) end def get(uri) if data = service.get_memory_usage_detail(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
17 entries across 17 versions & 5 rubygems