Class: Pingdom::TMSSummary::Average::Ingredient
- Defined in:
- lib/pingdom/tms_summary/average.rb
Class Method Summary collapse
Methods inherited from Base
attributes, check_error!, #id, #initialize, #inspect, #method_missing, #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
.parse(client, response) ⇒ Object
16 17 18 19 20 |
# File 'lib/pingdom/tms_summary/average.rb', line 16 def self.parse(client, response) sum = response.dup sum["responsetime"] = sum.delete("avgresponse") new client, sum end |