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