Class: Pingdom::SummaryPerformance
- Defined in:
- lib/pingdom/summary_performance.rb
Instance Attribute Summary collapse
-
#days ⇒ Object
Returns the value of attribute days.
-
#hours ⇒ Object
Returns the value of attribute hours.
-
#weeks ⇒ Object
Returns the value of attribute weeks.
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#add, all, body, client, collection, error?, find, #get, #initialize, limited, params, params=, parse, status, total, update_client
Constructor Details
This class inherits a constructor from Pingdom::Base
Instance Attribute Details
#days ⇒ Object
Returns the value of attribute days.
32 33 34 |
# File 'lib/pingdom/summary_performance.rb', line 32 def days @days end |
#hours ⇒ Object
Returns the value of attribute hours.
32 33 34 |
# File 'lib/pingdom/summary_performance.rb', line 32 def hours @hours end |
#weeks ⇒ Object
Returns the value of attribute weeks.
32 33 34 |
# File 'lib/pingdom/summary_performance.rb', line 32 def weeks @weeks end |
Class Method Details
.collection_type ⇒ Object
15 16 17 |
# File 'lib/pingdom/summary_performance.rb', line 15 def collection_type 'summary' end |
.path ⇒ Object
11 12 13 |
# File 'lib/pingdom/summary_performance.rb', line 11 def path '/summary.performance' end |
.permit ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/pingdom/summary_performance.rb', line 19 def permit { probes: :valid_int_list?, to: :valid_time?, from: :valid_time?, resolution: :valid_resolution?, order: :valid_order?, includeuptime: :valid_boolean? } end |