class Wallee::CardAuthenticationResponse

Constants

AUTHENTICATION_ERROR
AUTHENTICATION_NOT_REQUIRED
ENROLLMENT_VERIFICATION_ERROR
FULLY_AUTHENTICATED
NOT_ENROLLED

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/wallee-ruby-sdk/models/card_authentication_response.rb, line 32
def build_from_hash(value)
  constantValues = CardAuthenticationResponse.constants.select { |c| CardAuthenticationResponse::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #CardAuthenticationResponse" if constantValues.empty?
  value
end