Class: ActionDispatch::Http::ParameterFilter
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/http/parameter_filter.rb |
Class Method Summary
- .new(filters = []) ⇒ ParameterFilter constructor
Instance Method Summary
Constructor Details
.new(filters = []) ⇒ ParameterFilter
# File 'actionpack/lib/action_dispatch/http/parameter_filter.rb', line 10
def initialize(filters = []) @filters = filters end
Instance Method Details
#filter(params)
[ GitHub ]# File 'actionpack/lib/action_dispatch/http/parameter_filter.rb', line 14
def filter(params) compiled_filter.call(params) end