Module: Nomics

Defined in:
lib/nomics.rb,
lib/nomics/client.rb,
lib/nomics/version.rb,
lib/nomics/currency.rb,
lib/nomics/currencies.rb,
lib/nomics/configuration.rb

Defined Under Namespace

Classes: APIServerError, Client, Configuration, Currencies, Currency, HTTPAuthorizationError, UnhandledError, UnknownCurrencyError

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



17
18
19
# File 'lib/nomics.rb', line 17

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



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

def configure
  yield configuration
end