class RestrictCache::CacheSweeper
Public Class Methods
new(app)
click to toggle source
# File lib/restrict_cache/cache_sweeper.rb, line 3 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/restrict_cache/cache_sweeper.rb, line 7 def call(env) @app.call(env) ensure RestrictCache.clear end