Sha256: 2b9fdd8b91996a4cbd13c03f935a123ae589bd1816869bec3ddc41e45bddab8e
Contents?: true
Size: 1.07 KB
Versions: 16
Compression:
Stored size: 1.07 KB
Contents
=begin #Svix API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: 1.1.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.2.0 =end require 'date' require 'time' module Svix class Oauth2AuthMethodIn CLIENT_SECRET_JWT = "clientSecretJwt".freeze CLIENT_SECRET_BASIC = "clientSecretBasic".freeze CLIENT_SECRET_POST = "clientSecretPost".freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # 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 = Oauth2AuthMethodIn.constants.select { |c| Oauth2AuthMethodIn::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Oauth2AuthMethodIn" if constantValues.empty? value end end end
Version data entries
16 entries across 16 versions & 1 rubygems