Module: RapidApi::ActionController::PermittedParams::ClassMethods
- Defined in:
- lib/rapid_api/action_controller/permitted_params.rb
Instance Method Summary collapse
Instance Method Details
#permit_params(*params) ⇒ Object
24 25 26 27 28 |
# File 'lib/rapid_api/action_controller/permitted_params.rb', line 24 def permit_params(*params) @permitted_params ||= [] @permitted_params += params @permitted_params.uniq! end |
#permitted_params ⇒ Object
30 31 32 |
# File 'lib/rapid_api/action_controller/permitted_params.rb', line 30 def permitted_params @permitted_params end |