Sha256: 589112163fdd2ee5ca1e0f644e507a97aabee28f4e3da90deba5daff256f36f7
Contents?: true
Size: 620 Bytes
Versions: 65
Compression:
Stored size: 620 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
65 entries across 65 versions & 6 rubygems