Class: EventRouter::DeliveryAdapters::Workers::SidekiqEventDeliveryWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/event_router/delivery_adapters/workers/sidekiq_event_delivery_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(serialized_event) ⇒ Object



9
10
11
12
13
# File 'lib/event_router/delivery_adapters/workers/sidekiq_event_delivery_worker.rb', line 9

def perform(serialized_event)
  event = EventRouter.deserialize(serialized_event)

  Helpers::Sidekiq.process_event(event, serialized_event: serialized_event)
end