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



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

def job_uuid
  @job_uuid
end

Instance Method Details

#performObject



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