Class: ActiveWebhook::Queueing::ActiveJobAdapter::TopicJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
lib/active_webhook/queueing/active_job_adapter.rb

Instance Method Summary collapse

Instance Method Details

#perform(key, version, context) ⇒ Object



25
26
27
28
29
# File 'lib/active_webhook/queueing/active_job_adapter.rb', line 25

def perform(key, version, context)
  context.symbolize_keys!

  ActiveWebhook.queueing_adapter.new(key: key, version: version, **context).fulfill_topic
end