Class: Plaid::Legacy::IdentityVerificationLanguage

Inherits:
Object
  • Object
show all
Defined in:
lib/plaid/legacy/models/identity_verification_language.rb

Constant Summary collapse

EN_US =
"en-US".freeze
ES_ES =
"es-ES".freeze
ES_US =
"es-US".freeze
FR_CA =
"fr-CA".freeze
JA_JP =
"ja-JP".freeze
PT_BR =
"pt-BR".freeze
PT_PT =
"pt-PT".freeze
NULL =
"null".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String) —

    enum value in the form of the string

Returns:

  • (String) —

    The enum value



33
34
35
# File 'lib/plaid/legacy/models/identity_verification_language.rb', line 33

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String) —

    enum value in the form of the string

Returns:

  • (String) —

    The enum value



40
41
42
43
44
45
# File 'lib/plaid/legacy/models/identity_verification_language.rb', line 40

def build_from_hash(value)
  # We do not validate that the value is one of the enums set in the OpenAPI
  # file because we want to be able to add to our list of enums without
  # breaking this client library.
  value
end