Module: Semaphore

Defined in:
lib/semaphore.rb,
lib/semaphore/http.rb,
lib/semaphore/client.rb,
lib/semaphore/version.rb

Defined Under Namespace

Modules: HTTP Classes: Client, Configuration, ConfigurationError, Error

Constant Summary collapse

VERSION =
'1.0.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



46
47
48
# File 'lib/semaphore.rb', line 46

def self.configuration
  @configuration ||= Semaphore::Configuration.new
end

Class Method Details

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

Yields:



50
51
52
# File 'lib/semaphore.rb', line 50

def self.configure
  yield(configuration)
end