Module: Opendaylight

Defined in:
lib/opendaylight.rb,
lib/opendaylight/version.rb,
lib/opendaylight/model_driven.rb

Defined Under Namespace

Classes: API, Configuration, ModelDriven

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



11
12
13
# File 'lib/opendaylight.rb', line 11

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

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