Module: Terrafying::Locks
- Defined in:
- lib/terrafying/lock.rb
Defined Under Namespace
Classes: NoOpLock
Class Method Summary collapse
Class Method Details
.dynamodb(scope) ⇒ Object
20 21 22 |
# File 'lib/terrafying/lock.rb', line 20 def self.dynamodb(scope) Terrafying::DynamoDb::NamedLock.new(Terrafying::DynamoDb.config.lock_table, scope) end |
.noop ⇒ Object
16 17 18 |
# File 'lib/terrafying/lock.rb', line 16 def self.noop NoOpLock.new end |