README.md in cronitor-1.1.0 vs README.md in cronitor-1.1.1
- old
+ new
@@ -70,12 +70,12 @@
### Pinging a Monitor
Once you’ve created a monitor, you can continue to use the existing instance of the object to ping the monitor that your task status: `run`, `complete`, or `fail`.
```ruby
-my_monitor.run
-my_monitor.complete
-my_monitor.fail 'A short description of the failure'
+my_monitor.ping 'run'
+my_monitor.ping 'complete'
+my_monitor.ping 'fail', 'A short description of the failure'
```
### Pinging a monitor when you have a Cronitor code
You may already have the code for a monitor, in which case, the expense of `Cronitor.new` may seem unnecessary (since it makes an HTTP request to check if a monitor exists, and you already know it does).