Exception: CheckoutSdk::CheckoutAuthorizationException
- Inherits:
-
CheckoutException
- Object
- StandardError
- CheckoutException
- CheckoutSdk::CheckoutAuthorizationException
- Defined in:
- lib/checkout_sdk/error.rb
Class Method Summary collapse
Class Method Details
.invalid_authorization(authorization_type) ⇒ Object
9 10 11 |
# File 'lib/checkout_sdk/error.rb', line 9 def self.() new("Operation requires #{} authorization type.") end |
.invalid_key(key_type) ⇒ Object
13 14 15 |
# File 'lib/checkout_sdk/error.rb', line 13 def self.invalid_key(key_type) new("#{key_type} is required for this operation.") end |