Module: Foreman::Controller::Parameters::PolicyApi

Extended by:
ActiveSupport::Concern
Included in:
Api::V2::Compliance::PoliciesController, Policy
Defined in:
app/controllers/concerns/foreman/controller/parameters/policy_api.rb

Instance Method Summary collapse

Instance Method Details

#policy_paramsObject



18
19
20
# File 'app/controllers/concerns/foreman/controller/parameters/policy_api.rb', line 18

def policy_params
  self.class.policy_params_filter.filter_params(params, parameter_filter_context)
end