Class: SiteInspector::RailsCache
- Inherits:
-
Object
- Object
- SiteInspector::RailsCache
- Defined in:
- lib/site-inspector/rails_cache.rb
Instance Method Summary collapse
Instance Method Details
#get(request) ⇒ Object
5 6 7 |
# File 'lib/site-inspector/rails_cache.rb', line 5 def get(request) Rails.cache.read(request) end |
#set(request, response) ⇒ Object
9 10 11 |
# File 'lib/site-inspector/rails_cache.rb', line 9 def set(request, response) Rails.cache.write(request, response) end |