Module: Ldapi

Defined in:
lib/ldapi.rb,
lib/ldapi/configuration.rb

Defined Under Namespace

Classes: Application, Backend, Configuration

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/ldapi/configuration.rb', line 3

def configuration
  @configuration
end

Class Method Details

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

Yields:



6
7
8
9
# File 'lib/ldapi/configuration.rb', line 6

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end