Sha256: 515e5fbd7fb04ea0a1bf21b8598dc6428c5fe4f48212117b2a08fe332f9b14c7
Contents?: true
Size: 684 Bytes
Versions: 4
Compression:
Stored size: 684 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 Curve SECP256_K1 = 'CURVE_SECP256K1'.freeze ED25519 = 'CURVE_ED25519'.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 = Curve.constants.select { |c| Curve::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Curve" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems