Sha256: a3552b5f371248ca11cced2a934a43574972715349b771bad31407599a9b5d44

Contents?: true

Size: 1014 Bytes

Versions: 27

Compression:

Stored size: 1014 Bytes

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 TransformationHttpMethod
    POST = "POST".freeze
    PUT = "PUT".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 = TransformationHttpMethod.constants.select { |c| TransformationHttpMethod::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #TransformationHttpMethod" if constantValues.empty?
      value
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
svix-1.38.0 lib/svix/models/transformation_http_method.rb
svix-1.37.0 lib/svix/models/transformation_http_method.rb
svix-1.36.0 lib/svix/models/transformation_http_method.rb
svix-1.35.0 lib/svix/models/transformation_http_method.rb
svix-1.34.0 lib/svix/models/transformation_http_method.rb
svix-1.33.0 lib/svix/models/transformation_http_method.rb
svix-1.32.0 lib/svix/models/transformation_http_method.rb
svix-1.31.0 lib/svix/models/transformation_http_method.rb
svix-1.30.0 lib/svix/models/transformation_http_method.rb
svix-1.29.0 lib/svix/models/transformation_http_method.rb
svix-1.28.0 lib/svix/models/transformation_http_method.rb
svix-1.27.0 lib/svix/models/transformation_http_method.rb
svix-1.26.0 lib/svix/models/transformation_http_method.rb
svix-1.25.0 lib/svix/models/transformation_http_method.rb
svix-1.23.0 lib/svix/models/transformation_http_method.rb
svix-1.22.0 lib/svix/models/transformation_http_method.rb
svix-1.21.0 lib/svix/models/transformation_http_method.rb
svix-1.20.0 lib/svix/models/transformation_http_method.rb
svix-1.19.0 lib/svix/models/transformation_http_method.rb
svix-1.18.0 lib/svix/models/transformation_http_method.rb