Skip to content

Commit

Permalink
One more update to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jlurena committed Jul 11, 2024
1 parent d6e4000 commit 9ae1347
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,14 @@ cached_resource :cache => MyCacheStore.new, :ttl => 60, :collection_synchronize
```ruby
MyActiveResource.cached_resource.option = option_value
```
For example, to turn CachedResource off

Additionally a couple of helper methods are available:

```ruby
# Turn caching off
MyActiveResource.cached_resource.off!
# Turn caching on
MyActiveResource.cached_resource.on!
```

### Caveats
Expand Down

0 comments on commit 9ae1347

Please sign in to comment.