Exception: MandateJob::MandateJobNeedsRequeuing

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mandate/rails/mandate_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(wait) ⇒ MandateJobNeedsRequeuing

Returns a new instance of MandateJobNeedsRequeuing.



7
8
9
10
# File 'lib/mandate/rails/mandate_job.rb', line 7

def initialize(wait)
  @wait = wait
  super(nil)
end

Instance Attribute Details

#waitObject (readonly)

Returns the value of attribute wait.



5
6
7
# File 'lib/mandate/rails/mandate_job.rb', line 5

def wait
  @wait
end