Class: Pingdom::TMSSummary
- Defined in:
- lib/pingdom/tms_summary.rb,
lib/pingdom/tms_summary/outage.rb,
lib/pingdom/tms_summary/average.rb,
lib/pingdom/tms_summary/performance.rb
Defined Under Namespace
Classes: Average, Outage, Performance, Proxy, Status
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
attributes, check_error!, #id, #initialize, #inspect, #method_missing, parse, #respond_to?, #respond_to_missing?
Constructor Details
This class inherits a constructor from Pingdom::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pingdom::Base
Class Method Details
Instance Method Details
#from ⇒ Object
26 27 28 |
# File 'lib/pingdom/tms_summary.rb', line 26 def from Time.at(@attributes[:from]) end |
#to ⇒ Object
30 31 32 |
# File 'lib/pingdom/tms_summary.rb', line 30 def to Time.at(@attributes[:to]) end |