Sha256: b2c92a27cd04441e2514c8337040c6eaa5467475eac8ac5a7d1bb1fe2b314556
Contents?: true
Size: 1.32 KB
Versions: 23
Compression:
Stored size: 1.32 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 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 # 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
23 entries across 23 versions & 1 rubygems