Class: Taskinator::Queues::DelayedJobAdapter::JobWorker

Inherits:
Struct
  • Object
show all
Defined in:
lib/taskinator/queues/delayed_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#job_uuidObject

Returns the value of attribute job_uuid

Returns:

  • (Object)

    the current value of job_uuid



54
55
56
# File 'lib/taskinator/queues/delayed_job.rb', line 54

def job_uuid
  @job_uuid
end

Instance Method Details

#performObject



55
56
57
58
59
# File 'lib/taskinator/queues/delayed_job.rb', line 55

def perform
  Taskinator::JobWorker.new(job_uuid).perform do |job, args|
    job.new(*args).perform
  end
end