Sha256: c39ec4a7c9135c74f2bdd87f71adf07e1dbcb5b0c5f7ac64a54c7ee1d361de9d
Contents?: true
Size: 921 Bytes
Versions: 3
Compression:
Stored size: 921 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 AddressFormat UNCOMPRESSED = 'ADDRESS_FORMAT_UNCOMPRESSED'.freeze COMPRESSED = 'ADDRESS_FORMAT_COMPRESSED'.freeze ETHEREUM = 'ADDRESS_FORMAT_ETHEREUM'.freeze SOLANA = 'ADDRESS_FORMAT_SOLANA'.freeze COSMOS = 'ADDRESS_FORMAT_COSMOS'.freeze TRON = 'ADDRESS_FORMAT_TRON'.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 = AddressFormat.constants.select { |c| AddressFormat::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AddressFormat" if constantValues.empty? value end end end
Version data entries
3 entries across 3 versions & 1 rubygems