Class: EXEL::Sidekiq::ExecutionWorker
- Inherits:
-
Object
- Object
- EXEL::Sidekiq::ExecutionWorker
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/exel/sidekiq/execution_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform(context_uri, label = nil) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/exel/sidekiq/execution_worker.rb', line 8 def perform(context_uri, label = nil) EXEL.logger.debug("[#{label}] Worker starting") context = Context.deserialize(context_uri) block = context[:_block] block.start(context) end |