Sha256: 51e889691d33e66f04446af635c0ec7b07398a44f758e466614d1db8765de744
Contents?: true
Size: 626 Bytes
Versions: 13
Compression:
Stored size: 626 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 = connection.get_memory_usage_detail_summary(href).body[:MemoryUsageDetailSummary][:MemoryUsageDetail] load(data) end def get(uri) if data = connection.get_memory_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