Module: ForemanWebhooks::Controller::Parameters::Webhook
- Extended by:
- ActiveSupport::Concern
- Included in:
- Api::V2::WebhooksController, WebhooksController
- Defined in:
- app/controllers/concerns/foreman_webhooks/controller/parameters/webhook.rb
Instance Method Summary collapse
Instance Method Details
#webhook_params ⇒ Object
29 30 31 32 |
# File 'app/controllers/concerns/foreman_webhooks/controller/parameters/webhook.rb', line 29 def webhook_params params['webhook']['event'] = params['event'] unless params['event'].blank? self.class.webhook_params_filter.filter_params(params, parameter_filter_context) end |