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
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.
19 20 21 |
# File 'lib/active_job/queue_adapters/qu_adapter.rb', line 19 def initialize(job_data) @job_data = job_data end |
Instance Method Details
#perform ⇒ Object
23 24 25 |
# File 'lib/active_job/queue_adapters/qu_adapter.rb', line 23 def perform Base.execute @job_data end |