Class: EasyBroker::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/easy_broker/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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_urlObject

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_codeObject

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_codeObject

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