Class: CheckoutSdk::Configuration
- Inherits:
-
Object
- Object
- CheckoutSdk::Configuration
- Defined in:
- lib/checkout_sdk/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#persistent ⇒ Object
Returns the value of attribute persistent.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 9 |
# File 'lib/checkout_sdk/configuration.rb', line 4 def initialize @secret_key = nil @public_key = nil @base_url = nil @persistent = true end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
2 3 4 |
# File 'lib/checkout_sdk/configuration.rb', line 2 def base_url @base_url end |
#persistent ⇒ Object
Returns the value of attribute persistent.
2 3 4 |
# File 'lib/checkout_sdk/configuration.rb', line 2 def persistent @persistent end |
#public_key ⇒ Object
Returns the value of attribute public_key.
2 3 4 |
# File 'lib/checkout_sdk/configuration.rb', line 2 def public_key @public_key end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
2 3 4 |
# File 'lib/checkout_sdk/configuration.rb', line 2 def secret_key @secret_key end |