method
new
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::ParameterFilter
new(filters = [], mask: FILTERED)public
Create instance with given filters. Supported type of filters are String, Regexp, and Proc. Other types of filters are treated as String using to_s. For Proc filters, key, value, and optional original hash is passed to block arguments.
Options
-
:mask - A replaced object when filtered. Defaults to "[FILTERED]".