From 9ae1347539a4043cb9e914aca0b639e5271de163 Mon Sep 17 00:00:00 2001 From: Jean Luis Urena Date: Thu, 11 Jul 2024 15:42:57 -0400 Subject: [PATCH] One more update to README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f65da45..e999280 100644 --- a/README.md +++ b/README.md @@ -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