Class: Taskinator::Queues::DelayedJobAdapter::JobWorker
- Inherits:
-
Struct
- Object
- Struct
- Taskinator::Queues::DelayedJobAdapter::JobWorker
- Defined in:
- lib/taskinator/queues/delayed_job.rb
Instance Attribute Summary collapse
-
#job_uuid ⇒ Object
Returns the value of attribute job_uuid.
Instance Method Summary collapse
Instance Attribute Details
#job_uuid ⇒ Object
Returns the value of attribute job_uuid
47 48 49 |
# File 'lib/taskinator/queues/delayed_job.rb', line 47 def job_uuid @job_uuid end |
Instance Method Details
#perform ⇒ Object
48 49 50 51 52 |
# File 'lib/taskinator/queues/delayed_job.rb', line 48 def perform Taskinator::JobWorker.new(job_uuid).perform do |job, args| job.new(*args).perform end end |