Class: ActiveJob::QueueAdapters::QuAdapter::JobWrapper
- Inherits:
-
Qu::Job
- Object
- Qu::Job
- ActiveJob::QueueAdapters::QuAdapter::JobWrapper
- Defined in:
- lib/active_job/queue_adapters/qu_adapter.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(job_data) ⇒ JobWrapper
constructor
A new instance of JobWrapper.
- #perform ⇒ Object
Constructor Details
#initialize(job_data) ⇒ JobWrapper
Returns a new instance of JobWrapper.
36 37 38 |
# File 'lib/active_job/queue_adapters/qu_adapter.rb', line 36 def initialize(job_data) @job_data = job_data end |
Instance Method Details
#perform ⇒ Object
40 41 42 |
# File 'lib/active_job/queue_adapters/qu_adapter.rb', line 40 def perform Base.execute @job_data end |