Class: InvestecOpenApi::Configuration

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

Constant Summary collapse

DEFAULT_BASE_URL =
"https://openapi.investec.com/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



18
19
20
21
22
# File 'lib/investec_open_api.rb', line 18

def initialize
  @base_url = DEFAULT_BASE_URL

  Money.locale_backend = :i18n
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



12
13
14
# File 'lib/investec_open_api.rb', line 12

def api_key
  @api_key
end

#base_urlObject

Returns the value of attribute base_url.



12
13
14
# File 'lib/investec_open_api.rb', line 12

def base_url
  @base_url
end

#client_idObject

Returns the value of attribute client_id.



12
13
14
# File 'lib/investec_open_api.rb', line 12

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



12
13
14
# File 'lib/investec_open_api.rb', line 12

def client_secret
  @client_secret
end

#scopeObject

Returns the value of attribute scope.



12
13
14
# File 'lib/investec_open_api.rb', line 12

def scope
  @scope
end