Class: CommandTower::ApplicationJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- CommandTower::ApplicationJob
- Includes:
- Execution::JobBoundary
- Defined in:
- app/jobs/command_tower/application_job.rb
Direct Known Subclasses
Messaging::ChannelDeliveryExecutionJob, Messaging::Communications::ProduceRecipientJob, Messaging::ExecutionRecoveryJob, Messaging::HandoffJob, Messaging::HandoffRecoveryJob
Instance Method Summary collapse
Instance Method Details
#execute_workflow(workflow_class, **args) ⇒ Object
7 8 9 |
# File 'app/jobs/command_tower/application_job.rb', line 7 def execute_workflow(workflow_class, **args) workflow_class.call_from_job(job: self, **args) end |