Class: BatchesTaskProcessor::ProcessorJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/batches_task_processor/processor_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(task_id, job_no) ⇒ Object



7
8
9
# File 'lib/batches_task_processor/processor_job.rb', line 7

def perform(task_id, job_no)
  Processor.new(task_id).process_job(job_no)
end