Sha256: efed8737eeb2c3024e33f9d6792c8970d51a0379e17be16ce660df914c2e429f

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module RequestStore
  class Middleware
    def initialize(app)
      @app = app
    end

    def call(env)
      RequestStore.clear!
      @app.call(env)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
request_store-1.0.5 lib/request_store/middleware.rb
request_store-1.0.3 lib/request_store/middleware.rb