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 5
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 13
def test!(options)
  @client.test!(options.merge(probeid: id))
end