Class: Squall::Statistic
Overview
OnApp Statistic
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary (collapse)
-
- (Object) daily_stats
Get usage statistics for virtual machines.
Methods inherited from Base
#check_config, #default_params, #key_for_class, #request
Instance Method Details
- (Object) daily_stats
Get usage statistics for virtual machines.
7 8 9 10 |
# File 'lib/squall/statistic.rb', line 7 def daily_stats response = request(:get, "/usage_statistics.json") response.collect {|s| s["vm_stat"]} end |