Sha256: 1b62a7fc9faa503988e53f70909133ad37827a4f80de2ec01d8d3aa36d0084fc
Contents?: true
Size: 490 Bytes
Versions: 53
Compression:
Stored size: 490 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
53 entries across 53 versions & 3 rubygems