Sha256: 9f32965df28d1b00a26405224cb9fe6f70c2e5112036d98f2ea1635d17405e85

Contents?: true

Size: 776 Bytes

Versions: 2

Compression:

Stored size: 776 Bytes

Contents

=begin
#Web Forms API version 1.1

#The Web Forms API facilitates generating semantic HTML forms around everyday contracts. 

OpenAPI spec version: 1.1.0
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git

=end

require 'date'

module DocuSign_WebForms
  class WebFormSource
    
    TEMPLATES = 'templates'.freeze
    BLANK = 'blank'.freeze

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docusign_webforms-1.0.0 lib/docusign_webforms/models/web_form_source.rb
docusign_webforms-1.0.2.rc12 lib/docusign_webforms/models/web_form_source.rb