Method: Rack::AcornCache::CacheMaintenance#initialize
- Defined in:
- lib/acorn_cache/cache_maintenance.rb
#initialize(cache_key, server_response, cached_response) ⇒ CacheMaintenance
Returns a new instance of CacheMaintenance.
5 6 7 8 9 |
# File 'lib/acorn_cache/cache_maintenance.rb', line 5 def initialize(cache_key, server_response, cached_response) @cache_key = cache_key @server_response = server_response @cached_response = cached_response end |