Permalink
Browse files

status returns string, not symbol

  • Loading branch information...
1 parent 7b7c6c5 commit 14c358e2e025e5d4a48a788ed9e2ac175c905141 @doertehasselberg doertehasselberg committed Aug 8, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -10,7 +10,8 @@ NOTE: This is a 3rd party gem and not an official product from Pingdom.
client = Pingdom::Client.new :username => u, :password => p, :key => k
check = client.checks.first #=> #<Pingdom::Check>
check.last_response_time #=> 200 (ms)
- check.status #=> :up
+ check.status #=> "up"
+
result = check.results.first(:probes => [1,2,3], :status => [:up, :down])
#=> #<Pingdom::Result>
result.status #=> :up

0 comments on commit 14c358e

Please sign in to comment.