Class: Plaid::EntityWatchlistCode

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

Constant Summary collapse

CA_CON =
"CA_CON".freeze
EU_CON =
"EU_CON".freeze
IZ_SOE =
"IZ_SOE".freeze
IZ_UNC =
"IZ_UNC".freeze
IZ_WBK =
"IZ_WBK".freeze
US_CAP =
"US_CAP".freeze
US_FSE =
"US_FSE".freeze
US_MBS =
"US_MBS".freeze
US_SDN =
"US_SDN".freeze
US_SSI =
"US_SSI".freeze
US_CMC =
"US_CMC".freeze
US_UVL =
"US_UVL".freeze
US_SAM =
"US_SAM".freeze
US_TEL =
"US_TEL".freeze
AU_CON =
"AU_CON".freeze
UK_HMC =
"UK_HMC".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



38
39
40
# File 'lib/plaid/models/entity_watchlist_code.rb', line 38

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



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

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