Class: RunTasksJob

Inherits:
ContainerBrokerBaseJob show all
Defined in:
app/jobs/run_tasks_job.rb

Constant Summary

Constants inherited from ContainerBrokerBaseJob

ContainerBrokerBaseJob::JOB_METRIC

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ContainerBrokerBaseJob

request_id_from_args

Instance Attribute Details

#execution_typeObject (readonly)

Returns the value of attribute execution_type.



4
5
6
# File 'app/jobs/run_tasks_job.rb', line 4

def execution_type
  @execution_type
end

Instance Method Details

#perform(execution_type:) ⇒ Object



6
7
8
9
10
# File 'app/jobs/run_tasks_job.rb', line 6

def perform(execution_type:)
  @execution_type = execution_type

  enqueue_tasks
end