Sha256: 11bdffbb3e2f354e2c33e3e6893ccf4eafb99478e951e346d0e642f24b8bb241
Contents?: true
Size: 488 Bytes
Versions: 15
Compression:
Stored size: 488 Bytes
Contents
require 'fog/core/collection' require 'fog/storm_on_demand/models/monitoring/bandwidth' module Fog module Monitoring class StormOnDemand class Bandwidths < Fog::Collection model Fog::Monitoring::StormOnDemand::Bandwidth def graph(options) service.get_bandwidth_graph(options).body end def stats(uniq_id) bw = service.get_bandwidth_stats(:uniq_id => uniq_id).body new(bw) end end end end end
Version data entries
15 entries across 15 versions & 4 rubygems