Module: Potlock

Defined in:
lib/potlock.rb,
lib/potlock/client.rb,
lib/potlock/version.rb,
lib/potlock/configuration.rb

Defined Under Namespace

Classes: Client, Configuration, LockError

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/potlock.rb', line 14

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/potlock.rb', line 18

def configure
  yield(configuration)
end