Class: ActiveJob::Uniqueness::TestLockManager

Inherits:
Object
  • Object
show all
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

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