Sha256: 0db66a05a3fb5c290ea62eb7e8baeef6d48098f12fe3a1ffdbcbc15a659e781d
Contents?: true
Size: 712 Bytes
Versions: 3
Compression:
Stored size: 712 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 TRANSACTION_TYPE_ETHEREUM = 'TRANSACTION_TYPE_ETHEREUM'.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
3 entries across 3 versions & 1 rubygems