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