Class: DocuSign_Maestro::DSWorkflowComparisonOperatorTypes
- Inherits:
-
Object
- Object
- DocuSign_Maestro::DSWorkflowComparisonOperatorTypes
- Defined in:
- lib/docusign_maestro/models/ds_workflow_comparison_operator_types.rb
Constant Summary collapse
- CONTAINS =
'Contains'.freeze
- NOT_CONTAINS =
'NotContains'.freeze
- EQUAL =
'Equal'.freeze
- NOT_EQUAL =
'NotEqual'.freeze
- GREATER_THAN =
'GreaterThan'.freeze
- GREATER_THAN_OR_EQUAL =
'GreaterThanOrEqual'.freeze
- LESS_THAN =
'LessThan'.freeze
- LESS_THAN_OR_EQUAL =
'LessThanOrEqual'.freeze
- STARTS_WITH =
'StartsWith'.freeze
- NOT_STARTS_WITH =
'NotStartsWith'.freeze
- ENDS_WITH =
'EndsWith'.freeze
- NOT_ENDS_WITH =
'NotEndsWith'.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
33 34 35 36 37 |
# File 'lib/docusign_maestro/models/ds_workflow_comparison_operator_types.rb', line 33 def build_from_hash(value) constantValues = DSWorkflowComparisonOperatorTypes.constants.select { |c| DSWorkflowComparisonOperatorTypes::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DSWorkflowComparisonOperatorTypes" if constantValues.empty? value end |