Exception: CanvasSync::JobUniqueness::Conflict

Inherits:
StandardError
  • Object
show all
Defined in:
lib/canvas_sync/job_uniqueness/job_uniqueness.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lock_context) ⇒ Conflict

Returns a new instance of Conflict.



18
19
20
21
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 18

def initialize(lock_context)
  super()
  @lock_context = lock_context
end

Instance Attribute Details

#lock_contextObject (readonly)

Returns the value of attribute lock_context.



16
17
18
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 16

def lock_context
  @lock_context
end