Class: CanvasSync::JobBatches::ActiveJob::ActiveJobCallbackWorker

Inherits:
ActiveJob::Base
  • Object
show all
Includes:
Batch::Callback::CallbackWorkerCommon
Defined in:
lib/canvas_sync/job_batches/active_job.rb

Class Method Summary collapse

Methods included from Batch::Callback::CallbackWorkerCommon

#perform

Class Method Details

.enqueue_all(args, queue) ⇒ Object



69
70
71
72
73
# File 'lib/canvas_sync/job_batches/active_job.rb', line 69

def self.enqueue_all(args, queue)
  args.each do |arg_set|
    set(queue: queue).perform_later(*arg_set)
  end
end