Class: Flipper::Notifications::WebhookNotificationJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Flipper::Notifications::WebhookNotificationJob
- Defined in:
- lib/flipper/notifications/jobs/webhook_notification_job.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.disable_sidekiq_retries ⇒ Object
10 11 12 |
# File 'lib/flipper/notifications/jobs/webhook_notification_job.rb', line 10 def self.disable_sidekiq_retries (retry: 0) if respond_to?(:sidekiq_options) end |
Instance Method Details
#perform(webhook:, **webhook_args) ⇒ Object
22 23 24 |
# File 'lib/flipper/notifications/jobs/webhook_notification_job.rb', line 22 def perform(webhook:, **webhook_args) webhook.notify(**webhook_args) end |