Sha256: e4c80a84a0e3aa1aaed93ea2be01a5557d85c7aaa73b5aea4af2ff5c59cb1113
Contents?: true
Size: 369 Bytes
Versions: 21
Compression:
Stored size: 369 Bytes
Contents
module Ddr::Batch class BatchProcessorJob @queue = :batch def self.perform(batch_id, operator_id) ProcessBatch.new(batch_id: batch_id, operator_id: operator_id).execute end def self.after_enqueue_set_status(batch_id, operator_id) batch = Batch.find(batch_id) batch.status = Batch::STATUS_QUEUED batch.save end end end
Version data entries
21 entries across 21 versions & 1 rubygems