Module: Oxd

Defined in:
lib/oxd-ruby.rb,
lib/oxd/config.rb,
lib/oxd/version.rb,
lib/oxd/uma_commands.rb,
lib/oxd/oxd_connector.rb,
lib/oxd/client_oxd_commands.rb,
lib/generators/oxd/config_generator.rb

Overview

Note:

supports oxd-version 2.4.4

Author:

  • Inderpal Singh

Defined Under Namespace

Modules: Generators Classes: ClientOxdCommands, Configuration, OxdConnector, UMACommands

Constant Summary collapse

VERSION =
"0.1.8"

Class Method Summary collapse

Class Method Details

.configObject

Global settings for Oxd



21
22
23
# File 'lib/oxd/config.rb', line 21

def self.config
  @config
end

.configure { ... } ⇒ Object

Configures global settings for Oxd

Examples:

Oxd.configure do |config|
  config.oxd_host_ip = '127.0.0.1'
end

Yields:

  • config



13
14
15
16
17
18
# File 'lib/oxd/config.rb', line 13

def self.configure(&block)
  @config ||= Oxd::Configuration.new
  if block_given?
    yield(@config)
  end
end