Sha256: 58396da28138e054c4f5f93987aadca808ba8e3f6ad6ad9d3837ba32ff4a0688
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 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 CredentialType WEBAUTHN_AUTHENTICATOR = 'CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR'.freeze API_KEY_P256 = 'CREDENTIAL_TYPE_API_KEY_P256'.freeze RECOVER_USER_KEY_P256 = 'CREDENTIAL_TYPE_RECOVER_USER_KEY_P256'.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 = CredentialType.constants.select { |c| CredentialType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #CredentialType" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
turnkey_client-0.0.4 | lib/turnkey_client/models/credential_type.rb |