Class: EasyBroker::Configuration
- Inherits:
-
Object
- Object
- EasyBroker::Configuration
- Defined in:
- lib/easy_broker/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_root_url ⇒ Object
Returns the value of attribute api_root_url.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#use_partner_code ⇒ Object
Returns the value of attribute use_partner_code.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 9 |
# File 'lib/easy_broker/configuration.rb', line 4 def initialize @api_key = nil @country_code = nil @use_partner_code = nil @api_root_url = EasyBroker::DEFAULT_API_ROOT_URL end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
2 3 4 |
# File 'lib/easy_broker/configuration.rb', line 2 def api_key @api_key end |
#api_root_url ⇒ Object
Returns the value of attribute api_root_url.
2 3 4 |
# File 'lib/easy_broker/configuration.rb', line 2 def api_root_url @api_root_url end |
#country_code ⇒ Object
Returns the value of attribute country_code.
2 3 4 |
# File 'lib/easy_broker/configuration.rb', line 2 def country_code @country_code end |
#use_partner_code ⇒ Object
Returns the value of attribute use_partner_code.
2 3 4 |
# File 'lib/easy_broker/configuration.rb', line 2 def use_partner_code @use_partner_code end |