class DocuSign_WebForms::WebFormAdmType
Constants
- ARRAY_OF_STRING
- BOOLEAN
- CHECKBOX_GROUP
- DATE
- DATE_TIME
- DOUBLE
- NUMBER
- RADIO_BUTTON_GROUP
- SELECT
- STRING
- 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_adm_type.rb, line 33 def build_from_hash(value) constantValues = WebFormAdmType.constants.select { |c| WebFormAdmType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #WebFormAdmType" if constantValues.empty? value end