Sha256: 70137924a86a76df2db087f93e18b525c0f9cbbe6602881a9629cf8697099148

Contents?: true

Size: 275 Bytes

Versions: 14

Compression:

Stored size: 275 Bytes

Contents

class Rack::App::Middlewares::Configuration::PathParamsMatcher

  def initialize(app, path_params)
    @path_params = path_params
    @app = app
  end

  def call(env)
    env[::Rack::App::Constants::ENV::PATH_PARAMS_MATCHER]= @path_params.dup

    @app.call(env)
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rack-app-5.10.2 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.10.1 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.10.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.9.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.8.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.7.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.7.0.rc lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.6.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.5.1 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.4.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.3.2 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.3.1 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.3.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb
rack-app-5.2.0 lib/rack/app/middlewares/configuration/path_params_matcher.rb