Sha256: 42e49aad3b469da1b6681f115fe4ffeed34317fb05421ddabf913a7c060623de
Contents?: true
Size: 292 Bytes
Versions: 21
Compression:
Stored size: 292 Bytes
Contents
class Rack::App::Middlewares::Params::Setter def initialize(app) @app = app end def call(env) env[::Rack::App::Constants::ENV::PARSED_PARAMS] ||= params_hash(env) @app.call(env) end protected def params_hash(env) Rack::App::Params.new(env).to_hash end end
Version data entries
21 entries across 21 versions & 1 rubygems