class ActiveJob::QueueAdapters::DelayedJobAdapter
def enqueue(job) # :nodoc:
def enqueue(job) # :nodoc: delayed_job = Delayed::Job.enqueue(JobWrapper.new(job.serialize), queue: job.queue_name, priority: job.priority) job.provider_job_id = delayed_job.id delayed_job end