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