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