Exception: CheckoutSdk::CheckoutAuthorizationException

Inherits:
CheckoutException show all
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.invalid_authorization(authorization_type)
  new("Operation requires #{authorization_type} 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