Sha256: ea4bb255acb1978afb86ddc893b693e825a667741eeca99069dedf58b8c21d8d
Contents?: true
Size: 599 Bytes
Versions: 65
Compression:
Stored size: 599 Bytes
Contents
require 'fog/ecloud/models/compute/cpu_usage_detail' module Fog module Compute class Ecloud class CpuUsageDetailSummary < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::CpuUsageDetail def all data = service.get_cpu_usage_detail_summary(href).body[:CpuUsageDetailSummary][:CpuUsageDetail] load(data) end def get(uri) if data = service.get_cpu_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