Exception: CanvasSync::JobUniqueness::CouldNotLockError
- Inherits:
-
StandardError
- Object
- StandardError
- CanvasSync::JobUniqueness::CouldNotLockError
- Defined in:
- lib/canvas_sync/job_uniqueness/job_uniqueness.rb
Instance Attribute Summary collapse
-
#lock_context ⇒ Object
readonly
Returns the value of attribute lock_context.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(lock_context, source:) ⇒ CouldNotLockError
constructor
A new instance of CouldNotLockError.
Constructor Details
#initialize(lock_context, source:) ⇒ CouldNotLockError
Returns a new instance of CouldNotLockError.
27 28 29 30 31 |
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 27 def initialize(lock_context, source:) super() @lock_context = lock_context @source = source end |
Instance Attribute Details
#lock_context ⇒ Object (readonly)
Returns the value of attribute lock_context.
25 26 27 |
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 25 def lock_context @lock_context end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
25 26 27 |
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 25 def source @source end |