class Pingdom::Summary::Proxy

Public Instance Methods

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