Class: Fog::Monitoring::StormOnDemand::Loads
- Inherits:
-
Collection
- Object
- Collection
- Fog::Monitoring::StormOnDemand::Loads
- Defined in:
- lib/fog/monitoring/storm_on_demand/models/loads.rb
Instance Method Summary collapse
Instance Method Details
#graph(options) ⇒ Object
7 8 9 |
# File 'lib/fog/monitoring/storm_on_demand/models/loads.rb', line 7 def graph() service.get_load_graph().body end |
#stats(uniq_id) ⇒ Object
11 12 13 14 |
# File 'lib/fog/monitoring/storm_on_demand/models/loads.rb', line 11 def stats(uniq_id) load = service.get_load_stats(:uniq_id => uniq_id).body new(load) end |