Sha256: 9ae35eea72b6816503ab890bc2bf1fd2f51c2990eda3ef37baa1d6c03d39bfe9
Contents?: true
Size: 924 Bytes
Versions: 5
Compression:
Stored size: 924 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 AuthenticatorTransport BLE = 'AUTHENTICATOR_TRANSPORT_BLE'.freeze INTERNAL = 'AUTHENTICATOR_TRANSPORT_INTERNAL'.freeze NFC = 'AUTHENTICATOR_TRANSPORT_NFC'.freeze USB = 'AUTHENTICATOR_TRANSPORT_USB'.freeze HYBRID = 'AUTHENTICATOR_TRANSPORT_HYBRID'.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 = AuthenticatorTransport.constants.select { |c| AuthenticatorTransport::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AuthenticatorTransport" if constantValues.empty? value end end end
Version data entries
5 entries across 5 versions & 1 rubygems