Class: ExchangeRate::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/exchangerate_api_ruby/config.rb

Overview

/class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_keyObject

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_sslObject

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