method

new

rails latest stable - Class: ActionDispatch::ParamsParser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

new(app, parsers = {})
public

Create a new ParamsParser middleware instance.

The parsers argument can take Hash of parsers where key is identifying content mime type, and value is a lambda that is going to process data.