Skip to content
Browse files

you need a summery to ask for averages

  • Loading branch information...
1 parent 14c358e commit 5bb4a4636386b233a809b936dbd35109ccf0e3f3 @doertehasselberg doertehasselberg committed Aug 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -17,8 +17,8 @@ NOTE: This is a 3rd party gem and not an official product from Pingdom.
result.status #=> :up
result.up? #=> true
result.response_time #=> 20000 (microsecs)
-
- avg = check.average(:from => 1.month.ago,
+
+ avg = check.summary.average(:from => 1.month.ago,
:probes => [1,2,3])
#=> #<Pingdom::Summary::Average>
avg.response_time #=> 200 (ms)

0 comments on commit 5bb4a46

Please sign in to comment.
Something went wrong with that request. Please try again.