Class: Pay::Asaas::ApiClient::Configuration
- Inherits:
-
Object
- Object
- Pay::Asaas::ApiClient::Configuration
- Defined in:
- lib/pay/asaas/client.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #validate! ⇒ Object
Constructor Details
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
10 11 12 |
# File 'lib/pay/asaas/client.rb', line 10 def api_key @api_key end |
#base_url ⇒ Object
Returns the value of attribute base_url.
10 11 12 |
# File 'lib/pay/asaas/client.rb', line 10 def base_url @base_url end |
Instance Method Details
#validate! ⇒ Object
17 18 19 |
# File 'lib/pay/asaas/client.rb', line 17 def validate! raise ConfigurationError, "API key is required" unless api_key end |