Module: ForemanWebhooks::Controller::Parameters::WebhookTemplate

Extended by:
ActiveSupport::Concern
Includes:
Foreman::Controller::Parameters::Taxonomix, Foreman::Controller::Parameters::Template
Included in:
Api::V2::WebhookTemplatesController, WebhookTemplatesController
Defined in:
app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb

Instance Method Summary collapse

Instance Method Details

#location_paramsObject



28
29
30
# File 'app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb', line 28

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

#organization_paramsObject



24
25
26
# File 'app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb', line 24

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

#webhook_template_paramsObject



20
21
22
# File 'app/controllers/concerns/foreman_webhooks/controller/parameters/webhook_template.rb', line 20

def webhook_template_params
  self.class.webhook_template_params_filter.filter_params(params, parameter_filter_context)
end