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