Module: RapidApi::ActionController::FilterableParams::ClassMethods

Defined in:
lib/rapid_api/action_controller/filterable_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#permitted_filterable_paramsObject

Returns the value of attribute permitted_filterable_params.



16
17
18
# File 'lib/rapid_api/action_controller/filterable_params.rb', line 16

def permitted_filterable_params
  @permitted_filterable_params
end

Instance Method Details

#filterable_params(*params) ⇒ Object



22
23
24
# File 'lib/rapid_api/action_controller/filterable_params.rb', line 22

def filterable_params(*params)
  [*params].each { |p| self.permitted_filterable_params << p }
end