Module: Locksy

Defined in:
lib/locksy.rb,
lib/locksy/errors.rb,
lib/locksy/memory.rb,
lib/locksy/factory.rb,
lib/locksy/version.rb,
lib/locksy/dynamodb.rb,
lib/locksy/base_lock.rb,
lib/locksy/lock_interface.rb

Defined Under Namespace

Classes: BaseLock, DynamoDB, Factory, LockInterface, LockNotOwnedError, Memory

Constant Summary collapse

VERSION =
'0.0.3'.freeze

Class Method Summary collapse

Class Method Details

.loggerObject



8
9
10
# File 'lib/locksy.rb', line 8

def self.logger
  @logger ||= ::Logger.new(STDOUT)
end

.logger=(value) ⇒ Object



4
5
6
# File 'lib/locksy.rb', line 4

def self.logger=(value)
  @logger = value
end