Class: Plaid::ReasonCode

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

Constant Summary collapse

AC03 =
"AC03".freeze
AM09 =
"AM09".freeze
CUST =
"CUST".freeze
DUPL =
"DUPL".freeze
FRAD =
"FRAD".freeze
TECH =
"TECH".freeze
UPAY =
"UPAY".freeze
AC14 =
"AC14".freeze
AM06 =
"AM06".freeze
BE05 =
"BE05".freeze
FOCR =
"FOCR".freeze
MS02 =
"MS02".freeze
MS03 =
"MS03".freeze
RR04 =
"RR04".freeze
RUTA =
"RUTA".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



37
38
39
# File 'lib/plaid/models/reason_code.rb', line 37

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



44
45
46
47
48
49
# File 'lib/plaid/models/reason_code.rb', line 44

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