Module: Foreman::Controller::Parameters::Parameter

Extended by:
ActiveSupport::Concern
Included in:
Api::V2::CommonParametersController, Api::V2::ParametersController, CommonParametersController, Domain, HostBase, HostCommon, Hostgroup, Location, Operatingsystem, Organization, Registration, Subnet
Defined in:
app/controllers/concerns/foreman/controller/parameters/parameter.rb

Instance Method Summary collapse

Instance Method Details

#parameter_params(type) ⇒ Object


30
31
32
# File 'app/controllers/concerns/foreman/controller/parameters/parameter.rb', line 30

def parameter_params(type)
  self.class.parameter_params_filter(type).filter_params(params, parameter_filter_context)
end