Methods
C
N
Constants
DEFAULT_PARSERS = { Mime::XML => :xml_simple, Mime::JSON => :json }
 
Class Public methods
new(app, parsers = {})
# File actionpack/lib/action_dispatch/middleware/params_parser.rb, line 12
def initialize(app, parsers = {})
  @app, @parsers = app, DEFAULT_PARSERS.merge(parsers)
end
Instance Public methods
call(env)
# File actionpack/lib/action_dispatch/middleware/params_parser.rb, line 16
def call(env)
  if params = parse_formatted_parameters(env)
    env["action_dispatch.request.request_parameters"] = params
  end

  @app.call(env)
end