Class: Textus::Ports::Queue::Leased

Inherits:
Struct
  • Object
show all
Defined in:
lib/textus/ports/queue.rb

Overview

A claimed job plus the path it lives at, so ack/fail act on this copy.

Instance Attribute Summary collapse

Instance Attribute Details

#jobObject

Returns the value of attribute job

Returns:

  • (Object)

    the current value of job



33
34
35
# File 'lib/textus/ports/queue.rb', line 33

def job
  @job
end

#leased_pathObject

Returns the value of attribute leased_path

Returns:

  • (Object)

    the current value of leased_path



33
34
35
# File 'lib/textus/ports/queue.rb', line 33

def leased_path
  @leased_path
end