Sha256: dd94f10a5dd87bbb62a4dd2996b87c652659fed9c552ff07a5da6cba6199ce83
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 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 TransformationTemplateKind CUSTOM = "Custom".freeze SLACK = "Slack".freeze DISCORD = "Discord".freeze TEAMS = "Teams".freeze INNGEST = "Inngest".freeze SEGMENT = "Segment".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 = TransformationTemplateKind.constants.select { |c| TransformationTemplateKind::const_get(c) == value } raise "Invalid ENUM value #{value} for class #TransformationTemplateKind" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
svix-1.14.0 | lib/svix/models/transformation_template_kind.rb |