Module: CustomCache::ActsAsCustomCache::ClassMethods
- Defined in:
- lib/custom_cache/acts_as_custom_cache.rb
Instance Method Summary collapse
Instance Method Details
#request_cache(options = {}) ⇒ Object
16 17 18 |
# File 'lib/custom_cache/acts_as_custom_cache.rb', line 16 def request_cache( = {}) CustomCache::RequestCache.instance end |
#session_cache(options = {}) ⇒ Object
12 13 14 |
# File 'lib/custom_cache/acts_as_custom_cache.rb', line 12 def session_cache( = {}) CustomCache::SessionCache.instance end |