class AliseeksApi::NonRealtimeCurrency

Constants

AUD
BRL
CAD
CHF
CLP
CNY
EUR
GBP
IDR
JPY
KRW
MXN
NZD
PLN
RUB
SEK
SGD
TRY
UAH
USD

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/aliseeks_api/models/non_realtime_currency.rb, line 42
def build_from_hash(value)
  constantValues = NonRealtimeCurrency.constants.select { |c| NonRealtimeCurrency::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #NonRealtimeCurrency" if constantValues.empty?
  value
end