class Fog::Compute::Ecloud::CpuUsageDetailSummary
Public Instance Methods
all()
click to toggle source
# File lib/fog/compute/ecloud/models/cpu_usage_detail_summary.rb, line 11 def all data = service.get_cpu_usage_detail_summary(href).body[:CpuUsageDetailSummary][:CpuUsageDetail] load(data) end
get(uri)
click to toggle source
# File lib/fog/compute/ecloud/models/cpu_usage_detail_summary.rb, line 16 def get(uri) if data = service.get_cpu_usage_detail(uri) new(data.body) end rescue ServiceError => e raise e unless e.status_code == 404 nil end