class Pingdom::TMSSummary::Proxy
Public Instance Methods
average(options = {})
click to toggle source
# File lib/pingdom/tms_summary.rb, line 4 def average(options = {}) options.reverse_merge!(includeuptime: true) Average.parse(client, client.get("tms.summary.average/#{id}", options)) end
Also aliased as: averages
outage(options = {})
click to toggle source
# File lib/pingdom/tms_summary.rb, line 10 def outage(options = {}) options.reverse_merge!(includeuptime: true) Outage.parse(client, client.get("tms.summary.outage/#{id}", options)) end
Also aliased as: outages
performance(options = {})
click to toggle source
# File lib/pingdom/tms_summary.rb, line 16 def performance(options = {}) options.reverse_merge!(resolution: :day, includeuptime: true) Performance.parse(client, client.get("tms.summary.performance/#{id}", options)) end