Class: Webhookdb::Jobs::LoggedWebhooksReplay
- Inherits:
-
Object
- Object
- Webhookdb::Jobs::LoggedWebhooksReplay
- Extended by:
- Async::Job
- Defined in:
- lib/webhookdb/jobs/logged_webhook_replay.rb
Instance Method Summary collapse
Methods included from Async::Job
Instance Method Details
#_perform(event) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/webhookdb/jobs/logged_webhook_replay.rb', line 11 def _perform(event) lwh = self.lookup_model(Webhookdb::LoggedWebhook, event) self.(service_integration_opaque_id: lwh.service_integration_opaque_id) do lwh.retry_one(truncate_successful: true) end end |