Sha256: 64c5859dfed1c73eec623f33efa1f0b95269d4ccac7f0268fdcbf57352e46271
Contents?: true
Size: 241 Bytes
Versions: 4
Compression:
Stored size: 241 Bytes
Contents
module Squall # OnApp Statistic class Statistic < Base # Returns statitics for virtual machines def daily_stats response = request(:get, "/usage_statistics.json") response.collect {|s| s["vm_stat"]} end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
squall-1.3.0 | lib/squall/statistic.rb |
squall-1.2.1beta1 | lib/squall/statistic.rb |
squall-1.2.0beta1 | lib/squall/statistic.rb |
squall-1.1.0 | lib/squall/statistic.rb |