class Assistor::AbstractJob

Public Instance Methods

fail(exception) click to toggle source
# File lib/assistor/abstract_job.rb, line 11
def fail(exception)
  raise NotImplementedError
end
id() click to toggle source
# File lib/assistor/abstract_job.rb, line 3
def id
  @id ||= SecureRandom.uuid
end
run() click to toggle source
# File lib/assistor/abstract_job.rb, line 7
def run
  raise NotImplementedError
end