Class: DocuSign_Maestro::DSWorkflowLogicalOperatorTypes
- Inherits:
-
Object
- Object
- DocuSign_Maestro::DSWorkflowLogicalOperatorTypes
- Defined in:
- lib/docusign_maestro/models/ds_workflow_logical_operator_types.rb
Constant Summary collapse
- AND =
'And'.freeze
- OR =
'Or'.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
23 24 25 26 27 |
# File 'lib/docusign_maestro/models/ds_workflow_logical_operator_types.rb', line 23 def build_from_hash(value) constantValues = DSWorkflowLogicalOperatorTypes.constants.select { |c| DSWorkflowLogicalOperatorTypes::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DSWorkflowLogicalOperatorTypes" if constantValues.empty? value end |