class ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper

:nodoc:

def display_name

def display_name
  base_name = "#{job_data["job_class"]} [#{job_data["job_id"]}] from DelayedJob(#{job_data["queue_name"]})"
  return base_name unless log_arguments?
  "#{base_name} with arguments: #{job_data["arguments"]}"
end

def initialize(job_data)

def initialize(job_data)
  @job_data = job_data
end

def log_arguments?

def log_arguments?
  job_data["job_class"].constantize.log_arguments?
rescue NameError
  false
end

def perform

def perform
  Base.execute(job_data)
end