Class: ActiveJob::QueueAdapters::QuAdapter::JobWrapper

Inherits:
Qu::Job
  • Object
show all
Defined in:
activejob/lib/active_job/queue_adapters/qu_adapter.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(job_data) ⇒ JobWrapper

Returns a new instance of JobWrapper.


34
35
36
# File 'activejob/lib/active_job/queue_adapters/qu_adapter.rb', line 34

def initialize(job_data)
  @job_data  = job_data
end

Instance Method Details

#performObject


38
39
40
# File 'activejob/lib/active_job/queue_adapters/qu_adapter.rb', line 38

def perform
  Base.execute @job_data
end