Class: LockBoxCache::Cache::RailsCache
- Inherits:
-
Object
- Object
- LockBoxCache::Cache::RailsCache
- Defined in:
- lib/lockbox_cache.rb
Instance Method Summary collapse
Instance Method Details
#delete(key) ⇒ Object
17 18 19 |
# File 'lib/lockbox_cache.rb', line 17 def delete(key) Rails.cache.delete(key) end |
#read(key) ⇒ Object
13 14 15 |
# File 'lib/lockbox_cache.rb', line 13 def read(key) Rails.cache.read(key) end |
#write(key, value) ⇒ Object
9 10 11 |
# File 'lib/lockbox_cache.rb', line 9 def write(key, value) Rails.cache.write(key, value) end |