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



44
45
46
# File 'lib/taskinator/queues/delayed_job.rb', line 44

def job_uuid
  @job_uuid
end

Instance Method Details

#performObject



45
46
47
48
49
# File 'lib/taskinator/queues/delayed_job.rb', line 45

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