Class: OnlinePaymentPlatform::Configuration
- Inherits:
-
Object
- Object
- OnlinePaymentPlatform::Configuration
- Defined in:
- lib/online_payment_platform.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#sandbox_mode ⇒ Object
Returns the value of attribute sandbox_mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 |
# File 'lib/online_payment_platform.rb', line 22 def initialize @sandbox_mode = true @base_uri = 'https://api.onlinebetaalplatform.nl/v1/' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
20 21 22 |
# File 'lib/online_payment_platform.rb', line 20 def api_key @api_key end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
20 21 22 |
# File 'lib/online_payment_platform.rb', line 20 def base_uri @base_uri end |
#sandbox_mode ⇒ Object
Returns the value of attribute sandbox_mode.
20 21 22 |
# File 'lib/online_payment_platform.rb', line 20 def sandbox_mode @sandbox_mode end |