demarches-normaliennes/app/jobs/batch_operation_enqueue_all_job.rb

10 lines
177 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class BatchOperationEnqueueAllJob < ApplicationJob
queue_as :critical
def perform(batch_operation)
batch_operation.enqueue_all
end
end