class Pingdom::Probe
{“city”=>“Manchester”, “name”=>“Manchester, UK”, “country”=>“United Kingdom”, “countryiso”=>“GB”, “id”=>46, “ip”=>“212.84.74.156”, “hostname”=>“s424.pingdom.com”, “active”=>true}
Public Class Methods
parse(client, response)
click to toggle source
Calls superclass method
Pingdom::Base::parse
# File lib/pingdom/probe.rb, line 6 def self.parse(client, response) super[:probes].map do |probe| new(client, response, probe) end end
Public Instance Methods
test!(options)
click to toggle source
# File lib/pingdom/probe.rb, line 14 def test!(options) @client.test!(options.merge(:probeid => id)) end