From 427b8e9fbd7afdefd1fbb135b4ce156c4caab831 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 31 Aug 2015 14:34:17 +0200 Subject: [PATCH] Fixed typo. --- lib/cache.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cache.rb b/lib/cache.rb index 617eaea52..327443bad 100644 --- a/lib/cache.rb +++ b/lib/cache.rb @@ -20,7 +20,7 @@ write a cache 'some_key', { some: { data: { 'structure' } } }, { - :expires_in => 24.hours, # optional, default 7 days + expires_in: 24.hours, # optional, default 7 days } ) @@ -41,7 +41,7 @@ write a cache get a cache - value = Cache.write('some_key') + value = Cache.get('some_key') =end