Skip to content

Commit

Permalink
Fix syntax to restore a record (#476)
Browse files Browse the repository at this point in the history
Fix syntax to restore a record that were deleted within 2 minutes of the object
  • Loading branch information
sachinjain007 authored Mar 23, 2022
1 parent f8cffd8 commit ef1225e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ client.restore(:recursive => true)
If you want to restore a record and only those dependently destroyed associated records that were deleted within 2 minutes of the object upon which they depend:

``` ruby
Client.restore(id, :recursive => true. :recovery_window => 2.minutes)
Client.restore(id, :recursive => true, :recovery_window => 2.minutes)
# or
client.restore(:recursive => true, :recovery_window => 2.minutes)
```
Expand Down

0 comments on commit ef1225e

Please sign in to comment.