Class: InvestecOpenApi::Configuration
- Inherits:
-
Object
- Object
- InvestecOpenApi::Configuration
- Defined in:
- lib/investec_open_api.rb
Constant Summary collapse
- DEFAULT_BASE_URL =
"https://openapi.investec.com/"
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
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_url ⇒ Object
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_id ⇒ Object
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_secret ⇒ Object
Returns the value of attribute client_secret.
12 13 14 |
# File 'lib/investec_open_api.rb', line 12 def client_secret @client_secret end |
#scope ⇒ Object
Returns the value of attribute scope.
12 13 14 |
# File 'lib/investec_open_api.rb', line 12 def scope @scope end |