Class: ActiveJob::QueueAdapters::LitejobAdapter::Job

Inherits:
Object
  • Object
show all
Includes:
Litejob
Defined in:
lib/active_job/queue_adapters/litejob_adapter.rb

Overview

:nodoc:

Constant Summary collapse

DEFAULT_OPTIONS =
{
  config_path: "./config/litejob.yml",
  logger: nil, # Rails performs its logging already
  enqueue_after_transaction_commit: true
}

Instance Method Summary collapse

Methods included from Litejob

included

Instance Method Details

#perform(job_data) ⇒ Object



47
48
49
# File 'lib/active_job/queue_adapters/litejob_adapter.rb', line 47

def perform(job_data)
  Base.execute job_data
end