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.


32
33
34
# File 'activejob/lib/active_job/queue_adapters/qu_adapter.rb', line 32

def initialize(job_data)
  @job_data  = job_data
end

Instance Method Details

#performObject


36
37
38
# File 'activejob/lib/active_job/queue_adapters/qu_adapter.rb', line 36

def perform
  Base.execute @job_data
end