Sha256: 0511a440b833a81e4372d71ae601634c185e35fe1f962f61baa96aaaf9a43c32
Contents?: true
Size: 248 Bytes
Versions: 3
Compression:
Stored size: 248 Bytes
Contents
module Squall # OnApp Statistic class Statistic < Base # Returns statitics for a given VirtualMachine def daily_stats(id) response = request(:get, "/usage_statistics.json") response.first['vm_hourly_stat'] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squall-1.0.2 | lib/squall/statistic.rb |
squall-1.0.1 | lib/squall/statistic.rb |
squall-1.0.0 | lib/squall/statistic.rb |