Module: Foreman::Controller::Parameters::ReportTemplate

Extended by:
ActiveSupport::Concern
Includes:
Taxonomix, Template
Included in:
Api::V2::ReportTemplatesController, ReportTemplatesController
Defined in:
app/controllers/concerns/foreman/controller/parameters/report_template.rb

Instance Method Summary collapse

Instance Method Details

#location_paramsObject


23
24
25
# File 'app/controllers/concerns/foreman/controller/parameters/report_template.rb', line 23

def location_params
  self.class.location_params_filter(::ReportTemplate).filter_params(params, parameter_filter_context)
end

#organization_paramsObject


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

def organization_params
  self.class.organization_params_filter(::ReportTemplate).filter_params(params, parameter_filter_context)
end

#report_template_paramsObject


15
16
17
# File 'app/controllers/concerns/foreman/controller/parameters/report_template.rb', line 15

def report_template_params
  self.class.report_template_params_filter.filter_params(params, parameter_filter_context)
end