Class: MoneyKit::PlaidCompatible::PlaidErrorType

Inherits:
Object
  • Object
show all
Defined in:
lib/plaid_compatible/money_kit_plaid_compatible/models/plaid_error_type.rb

Constant Summary collapse

INVALID_REQUEST =
'INVALID_REQUEST'.freeze
INVALID_RESULT =
'INVALID_RESULT'.freeze
INVALID_INPUT =
'INVALID_INPUT'.freeze
INSTITUTION_ERROR =
'INSTITUTION_ERROR'.freeze
RATE_LIMIT_EXCEEDED =
'RATE_LIMIT_EXCEEDED'.freeze
API_ERROR =
'API_ERROR'.freeze
ITEM_ERROR =
'ITEM_ERROR'.freeze
ASSET_REPORT_ERROR =
'ASSET_REPORT_ERROR'.freeze
RECAPTCHA_ERROR =
'RECAPTCHA_ERROR'.freeze
OAUTH_ERROR =
'OAUTH_ERROR'.freeze
PAYMENT_ERROR =
'PAYMENT_ERROR'.freeze
BANK_TRANSFER_ERROR =
'BANK_TRANSFER_ERROR'.freeze
INCOME_VERIFICATION_ERROR =
'INCOME_VERIFICATION_ERROR'.freeze
MICRODEPOSITS_ERROR =
'MICRODEPOSITS_ERROR'.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



35
36
37
# File 'lib/plaid_compatible/money_kit_plaid_compatible/models/plaid_error_type.rb', line 35

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



42
43
44
45
46
47
# File 'lib/plaid_compatible/money_kit_plaid_compatible/models/plaid_error_type.rb', line 42

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