Class: BatchManager::ExecBatchWorker

Inherits:
Object
  • Object
show all
Defined in:
app/workers/batch_manager/exec_batch_worker.rb

Class Method Summary collapse

Class Method Details

.perform(batch_name, options = {}) ⇒ Object



5
6
7
# File 'app/workers/batch_manager/exec_batch_worker.rb', line 5

def self.perform(batch_name, options = {})
  BatchManager::Executor.exec(batch_name, :wet => options[:wet])
end

.queue_nameObject



9
10
11
# File 'app/workers/batch_manager/exec_batch_worker.rb', line 9

def self.queue_name
  @queue
end