Class: WealthForge::Configuration
- Inherits:
-
Object
- Object
- WealthForge::Configuration
- Defined in:
- lib/wealthforge/configuration.rb
Instance Attribute Summary collapse
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#production_url ⇒ Object
Returns the value of attribute production_url.
-
#sandbox_url ⇒ Object
Returns the value of attribute sandbox_url.
-
#token_url ⇒ Object
Returns the value of attribute token_url.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/wealthforge/configuration.rb', line 14 def initialize @client_id = nil @client_secret = nil @environment = nil @api_url = nil @token_url = nil @production_url = 'https://api.wealthforge.com/v1' @sandbox_url = 'https://api.wealthforge.org/v1' @version = 'v1' end |
Instance Attribute Details
#api_url ⇒ Object
Returns the value of attribute api_url.
8 9 10 |
# File 'lib/wealthforge/configuration.rb', line 8 def api_url @api_url end |
#client_id ⇒ Object
Returns the value of attribute client_id.
5 6 7 |
# File 'lib/wealthforge/configuration.rb', line 5 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
6 7 8 |
# File 'lib/wealthforge/configuration.rb', line 6 def client_secret @client_secret end |
#environment ⇒ Object
Returns the value of attribute environment.
7 8 9 |
# File 'lib/wealthforge/configuration.rb', line 7 def environment @environment end |
#production_url ⇒ Object
Returns the value of attribute production_url.
11 12 13 |
# File 'lib/wealthforge/configuration.rb', line 11 def production_url @production_url end |
#sandbox_url ⇒ Object
Returns the value of attribute sandbox_url.
12 13 14 |
# File 'lib/wealthforge/configuration.rb', line 12 def sandbox_url @sandbox_url end |
#token_url ⇒ Object
Returns the value of attribute token_url.
9 10 11 |
# File 'lib/wealthforge/configuration.rb', line 9 def token_url @token_url end |
#version ⇒ Object
Returns the value of attribute version.
10 11 12 |
# File 'lib/wealthforge/configuration.rb', line 10 def version @version end |