Sha256: 2d4fc4bc49906557fe8f093d6fa423bb5e71373a0d5da4a742249804d0144e9e
Contents?: true
Size: 246 Bytes
Versions: 23
Compression:
Stored size: 246 Bytes
Contents
module Pliny::Middleware::RequestStore class Clear def initialize(app, options={}) @app = app @store = options[:store] || Pliny::RequestStore end def call(env) @store.clear! @app.call(env) end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
pliny-0.20.1 | lib/pliny/middleware/request_store/clear.rb |
pliny-0.20.0 | lib/pliny/middleware/request_store/clear.rb |
pliny-0.19.0 | lib/pliny/middleware/request_store/clear.rb |