Class: TurnkeyClient::PathFormat
- Inherits:
-
Object
- Object
- TurnkeyClient::PathFormat
- Defined in:
- lib/turnkey_client/models/path_format.rb
Constant Summary collapse
- PATH_FORMAT_BIP32 =
'PATH_FORMAT_BIP32'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
20 21 22 23 24 |
# File 'lib/turnkey_client/models/path_format.rb', line 20 def build_from_hash(value) constantValues = PathFormat.constants.select { |c| PathFormat::const_get(c) == value } raise "Invalid ENUM value #{value} for class #PathFormat" if constantValues.empty? value end |