class DocuSign_WebForms::WebFormComponentType

Constants

CHECKBOX_GROUP
DATE
EMAIL
NUMBER
RADIO_BUTTON_GROUP
SELECT
TEXT_BOX

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/docusign_webforms/models/web_form_component_type.rb, line 28
def build_from_hash(value)
  constantValues = WebFormComponentType.constants.select { |c| WebFormComponentType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #WebFormComponentType" if constantValues.empty?
  value
end