Module: Easykiq::OrchestrationJob

Extended by:
Forwardable
Includes:
Sidekiq::Worker
Defined in:
lib/easykiq/orchestration_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



12
13
14
15
# File 'lib/easykiq/orchestration_job.rb', line 12

def perform(*args)
  perform_orchestration(*args)
  orchestration.execute(batch)
end

#workflow_plan(*args) ⇒ Object



17
18
19
20
# File 'lib/easykiq/orchestration_job.rb', line 17

def workflow_plan(*args)
  perform_orchestration(*args)
  orchestration.serialized_workflow
end