Commit 2c3219ce by Akshay S Murthy

Update README.md

Show the 'restore' instance method also in the code snippets

- `client.restore`
- `client.restore(:recursive => true)`
parent df42daa3
......@@ -158,6 +158,8 @@ If you want to restore a record:
``` ruby
Client.restore(id)
# or
client.restore
```
If you want to restore a whole bunch of records:
......@@ -170,6 +172,8 @@ If you want to restore a record and their dependently destroyed associated recor
``` ruby
Client.restore(id, :recursive => true)
# or
client.restore(:recursive => true)
```
If you want callbacks to trigger before a restore:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment