class Chore::UnitOfWork

Simple class to hold job processing information. Has six attributes:

make sure to pass it along with each message. This instance will be used by the Worker for things like complete and </tt>reject</tt>.

Attributes

created_at[RW]

Public Instance Methods

current_attempt() click to toggle source

The current attempt number for the worker processing this message.

# File lib/chore/unit_of_work.rb, line 22
def current_attempt
  previous_attempts + 1
end