Permalink
Browse files

Add alias for Average response time

  • Loading branch information...
1 parent be955f1 commit 310172d4c55821edffb74e77d323d2dbac1553eb @mtodd committed Mar 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/pingdom-client.rb
View
@@ -294,7 +294,8 @@ def self.parse(client, response)
sum = Summary.new(client, response, sum)
end
- attributes :probeid => :probe_id
+ attributes :probeid => :probe_id,
+ :responsetime => :response_time
def probe
@client.probes.detect{ |probe| probe.id == probe_id }

0 comments on commit 310172d

Please sign in to comment.