Class: ExchangeRate::Config
- Inherits:
-
Object
- Object
- ExchangeRate::Config
- Defined in:
- lib/exchangerate_api_ruby/config.rb
Overview
/class
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
16 17 18 19 |
# File 'lib/exchangerate_api_ruby/config.rb', line 16 def initialize @api_key = nil @use_ssl = true end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
13 14 15 |
# File 'lib/exchangerate_api_ruby/config.rb', line 13 def api_key @api_key end |
#use_ssl ⇒ Object
Returns the value of attribute use_ssl.
14 15 16 |
# File 'lib/exchangerate_api_ruby/config.rb', line 14 def use_ssl @use_ssl end |