Class: Vindi::Configuration
- Inherits:
-
Object
- Object
- Vindi::Configuration
- Defined in:
- lib/vindi/configuration.rb
Constant Summary collapse
- DEFAULT_API_URL =
"https://sandbox-gp.vindi.com.br/api/v1"
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 |
# File 'lib/vindi/configuration.rb', line 9 def initialize @api_key = nil @api_url = DEFAULT_API_URL end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/vindi/configuration.rb', line 5 def api_key @api_key end |
#api_url ⇒ Object
Returns the value of attribute api_url.
5 6 7 |
# File 'lib/vindi/configuration.rb', line 5 def api_url @api_url end |