Class: OperationJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- OperationJob
- Includes:
- Operationable::Persisters::Memory
- Defined in:
- lib/jobs/operation_job.rb
Instance Attribute Summary
Attributes included from Operationable::Persisters::Memory
Instance Method Summary collapse
Methods included from Operationable::Persisters::Memory
#at, #completed, #create_status_hash, #failed, #kill!, #name, #safe_perform, #should_kill?, #status, #status=, #tick, #working
Instance Method Details
#perform(q_options:, props:) ⇒ Object
20 21 22 |
# File 'lib/jobs/operation_job.rb', line 20 def perform(q_options:, props:) "Operationable::Runners::#{q_options[:type].capitalize}".constantize.call(q_options: , props: props) end |