Sha256: 0d998f20c34dfc2f91975769703ad7184ae38b8745257abc7e1b610bbf1bdf45
Contents?: true
Size: 1.01 KB
Versions: 14
Compression:
Stored size: 1.01 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 Oauth2GrantTypeIn CLIENT_CREDENTIALS = "clientCredentials".freeze REFRESH_TOKEN = "refreshToken".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 = Oauth2GrantTypeIn.constants.select { |c| Oauth2GrantTypeIn::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Oauth2GrantTypeIn" if constantValues.empty? value end end end
Version data entries
14 entries across 14 versions & 1 rubygems