Sha256: 9df2077a3643e52fb7a5bc8498cf3d1ff3cacedfec33e096b3632bf39f539c4b
Contents?: true
Size: 676 Bytes
Versions: 5
Compression:
Stored size: 676 Bytes
Contents
=begin #API Reference #Review our [API Introduction](../api-introduction) to get started. OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'date' module TurnkeyClient class PathFormat PATH_FORMAT_BIP32 = 'PATH_FORMAT_BIP32'.freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value 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 end end
Version data entries
5 entries across 5 versions & 1 rubygems