Class: ThreadJob::Memory::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/thread_job/backends/memory/store.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsObject

Returns the value of attribute attempts.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def attempts
  @attempts
end

#idObject

Returns the value of attribute id.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def id
  @id
end

#jobObject

Returns the value of attribute job.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def job
  @job
end

#job_nameObject

Returns the value of attribute job_name.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def job_name
  @job_name
end

#queue_nameObject

Returns the value of attribute queue_name.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def queue_name
  @queue_name
end

#statusObject

Returns the value of attribute status.



11
12
13
# File 'lib/thread_job/backends/memory/store.rb', line 11

def status
  @status
end