Class: OnlinePayments::SDK::Authentication::AuthorizationType
- Inherits:
-
Object
- Object
- OnlinePayments::SDK::Authentication::AuthorizationType
- Defined in:
- lib/onlinepayments/sdk/authentication/authorization_type.rb
Overview
Contains all authentication schemes supported by the Online Payments platform.
Constant Summary collapse
- V1HMAC =
"v1HMAC".freeze
Class Method Summary collapse
-
.get_authorization(authorization) ⇒ String
The authorization string that belongs to the parameter authorization, or nil if not found.
Class Method Details
.get_authorization(authorization) ⇒ String
Returns the authorization string that belongs to the parameter authorization, or nil if not found.
9 10 11 |
# File 'lib/onlinepayments/sdk/authentication/authorization_type.rb', line 9 def self.() if == 'v1HMAC' end |