Sha256: 01e69eefad8ffbcbb2ca5b92da61fc5253d253ad9063cd0f815f21eb8846a371
Contents?: true
Size: 741 Bytes
Versions: 2
Compression:
Stored size: 741 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 TransactionType ETHEREUM = 'TRANSACTION_TYPE_ETHEREUM'.freeze SOLANA = 'TRANSACTION_TYPE_SOLANA'.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 = TransactionType.constants.select { |c| TransactionType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #TransactionType" if constantValues.empty? value end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turnkey_client-0.0.12 | lib/turnkey_client/models/transaction_type.rb |
turnkey_client-0.0.9 | lib/turnkey_client/models/transaction_type.rb |