Class: WebhooksController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- WebhooksController
- Includes:
- Foreman::Controller::AutoCompleteSearch, ForemanWebhooks::Controller::Parameters::Webhook
- Defined in:
- app/controllers/webhooks_controller.rb
Instance Method Summary collapse
Methods included from ForemanWebhooks::Controller::Parameters::Webhook
Instance Method Details
#destroy ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/controllers/webhooks_controller.rb', line 9 def destroy if @webhook.destroy process_success else process_error end end |