Class: ActiveJob::Uniqueness::TestLockManager
- Inherits:
-
Object
- Object
- ActiveJob::Uniqueness::TestLockManager
- Defined in:
- lib/active_job/uniqueness/test_lock_manager.rb
Overview
Mocks ActiveJob::Uniqueness::LockManager methods. See ActiveJob::Uniqueness.test_mode!
Instance Method Summary collapse
- #lock(*_args) ⇒ Object (also: #delete_lock, #delete_locks)
Instance Method Details
#lock(*_args) ⇒ Object Also known as: delete_lock, delete_locks
8 9 10 |
# File 'lib/active_job/uniqueness/test_lock_manager.rb', line 8 def lock(*_args) true end |