class ActiveJob::QueueAdapters::QueAdapter

def enqueue(job) # :nodoc:

:nodoc:
def enqueue(job) # :nodoc:
  job_options = { priority: job.priority, queue: job.queue_name }
  que_job = nil
  if require_job_options_kwarg?
    que_job = JobWrapper.enqueue job.serialize, job_options: job_options
  else
    que_job = JobWrapper.enqueue job.serialize, **job_options
  end
  job.provider_job_id = que_job.attrs["job_id"]
  que_job
end