Sha256: 4c67bdba95195eb034f663408ae6f7d329a58d2678b41ae3a4afe9d15660c0c2
Contents?: true
Size: 1.02 KB
Versions: 27
Compression:
Stored size: 1.02 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 BorderRadiusEnum NONE = "none".freeze LG = "lg".freeze MD = "md".freeze SM = "sm".freeze FULL = "full".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 = BorderRadiusEnum.constants.select { |c| BorderRadiusEnum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #BorderRadiusEnum" if constantValues.empty? value end end end
Version data entries
27 entries across 27 versions & 1 rubygems