123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::Http::ParameterFilter

Relationships & Source Files
Inherits: Object
Defined in: actionpack/lib/action_dispatch/http/parameter_filter.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(filters = []) ⇒ ParameterFilter

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/http/parameter_filter.rb', line 6

def initialize(filters = [])
  @filters = filters
end

Instance Method Details

#filter(params)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/http/parameter_filter.rb', line 10

def filter(params)
  compiled_filter.call(params)
end