Sha256: 7d1574e1e69a48d91f0ad3549bf229e158ff948de1d54305ebd2d365650364a1
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
=begin #HelloSign API #HelloSign v3 API The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.3.0 =end require 'date' require 'time' module HelloSign class SubFormFieldsPerDocumentTypeEnum CHECKBOX = "checkbox".freeze CHECKBOX_MERGE = "checkbox-merge".freeze DATE_SIGNED = "date_signed".freeze DROPDOWN = "dropdown".freeze HYPERLINK = "hyperlink".freeze INITIALS = "initials".freeze SIGNATURE = "signature".freeze RADIO = "radio".freeze TEXT = "text".freeze TEXT_MERGE = "text-merge".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 = SubFormFieldsPerDocumentTypeEnum.constants.select { |c| SubFormFieldsPerDocumentTypeEnum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #SubFormFieldsPerDocumentTypeEnum" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hellosign-ruby-sdk-6.0.0.pre.beta | lib/hellosign-ruby-sdk/models/sub_form_fields_per_document_type_enum.rb |