Class: DocuSign_Maestro::DSWorkflowStepTypesDSWebForms
- Inherits:
-
Object
- Object
- DocuSign_Maestro::DSWorkflowStepTypesDSWebForms
- Defined in:
- lib/docusign_maestro/models/ds_workflow_step_types_ds_web_forms.rb
Constant Summary collapse
- DS_WEB_FORMS =
'DS-WebForms'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
22 23 24 25 26 |
# File 'lib/docusign_maestro/models/ds_workflow_step_types_ds_web_forms.rb', line 22 def build_from_hash(value) constantValues = DSWorkflowStepTypesDSWebForms.constants.select { |c| DSWorkflowStepTypesDSWebForms::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DSWorkflowStepTypesDSWebForms" if constantValues.empty? value end |