Sha256: def2d8132597e0f3e3b8ed82ea51abefa3272e43388486aeb77efe6f99cb8a49
Contents?: true
Size: 467 Bytes
Versions: 15
Compression:
Stored size: 467 Bytes
Contents
require 'fog/core/collection' require 'fog/storm_on_demand/models/monitoring/load' module Fog module Monitoring class StormOnDemand class Loads < Fog::Collection model Fog::Monitoring::StormOnDemand::Load def graph(options) service.get_load_graph(options).body end def stats(uniq_id) load = service.get_load_stats(:uniq_id => uniq_id).body new(load) end end end end end
Version data entries
15 entries across 15 versions & 4 rubygems