Sha256: ed4892e5bc1d3c71adf8695b3b09d6a4fbd5bff296cd4707dbe01a1575842a86
Contents?: true
Size: 1.4 KB
Versions: 9
Compression:
Stored size: 1.4 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 Generator version: 7.9.0 =end require 'date' require 'time' module Svix class TransformationTemplateKind CUSTOM = "Custom".freeze CUSTOMER_IO = "CustomerIO".freeze DISCORD = "Discord".freeze HUBSPOT = "Hubspot".freeze INNGEST = "Inngest".freeze SALESFORCE = "Salesforce".freeze SEGMENT = "Segment".freeze SLACK = "Slack".freeze TEAMS = "Teams".freeze TRIGGER_DEV = "TriggerDev".freeze WINDMILL = "Windmill".freeze ZAPIER = "Zapier".freeze def self.all_vars @all_vars ||= [CUSTOM, CUSTOMER_IO, DISCORD, HUBSPOT, INNGEST, SALESFORCE, SEGMENT, SLACK, TEAMS, TRIGGER_DEV, WINDMILL, ZAPIER].freeze end # 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) return value if TransformationTemplateKind.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #TransformationTemplateKind" end end end
Version data entries
9 entries across 9 versions & 1 rubygems