Module: FXRates
- Defined in:
- lib/fx_rates.rb,
lib/fx_rates/client.rb,
lib/fx_rates/request.rb,
lib/fx_rates/version.rb,
lib/fx_rates/configuration.rb
Defined Under Namespace
Modules: Response Classes: AuthenticationError, Client, Configuration, Error, Request
Constant Summary collapse
- VERSION =
"1.0.1"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
13 14 15 |
# File 'lib/fx_rates.rb', line 13 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
15 16 17 18 |
# File 'lib/fx_rates.rb', line 15 def configure self.config ||= FXRates::Configuration.new yield(config) if block_given? end |