Class: DocuSign_Maestro::DSWorkflowStepTypesLoop
- Inherits:
-
Object
- Object
- DocuSign_Maestro::DSWorkflowStepTypesLoop
- Defined in:
- lib/docusign_maestro/models/ds_workflow_step_types_loop.rb
Constant Summary collapse
- DS_LOOP =
'DS-Loop'.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_loop.rb', line 22 def build_from_hash(value) constantValues = DSWorkflowStepTypesLoop.constants.select { |c| DSWorkflowStepTypesLoop::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DSWorkflowStepTypesLoop" if constantValues.empty? value end |