Class: CanvasSync::JobUniqueness::OnConflict::Raise

Inherits:
Base
  • Object
show all
Defined in:
lib/canvas_sync/job_uniqueness/on_conflict/raise.rb

Instance Attribute Summary

Attributes inherited from Base

#lock_context, #redis_pool

Instance Method Summary collapse

Methods inherited from Base

#initialize, #replace?, valid_for

Constructor Details

This class inherits a constructor from CanvasSync::JobUniqueness::OnConflict::Base

Instance Method Details

#callObject

Raises:



6
7
8
# File 'lib/canvas_sync/job_uniqueness/on_conflict/raise.rb', line 6

def call
  raise Conflict, lock_context
end