Class: ActiveWebhook::Queueing::SidekiqAdapter::TopicWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/active_webhook/queueing/sidekiq_adapter.rb

Instance Method Summary collapse

Instance Method Details

#perform(key, version, context) ⇒ Object



27
28
29
# File 'lib/active_webhook/queueing/sidekiq_adapter.rb', line 27

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