Method: DocuSign_Maestro::ParticipantKeys#build_from_hash
- Defined in:
- lib/docusign_maestro/models/participant_keys.rb
permalink #build_from_hash(value) ⇒ String
Builds the enum from string
24 25 26 27 28 |
# File 'lib/docusign_maestro/models/participant_keys.rb', line 24 def build_from_hash(value) constantValues = ParticipantKeys.constants.select { |c| ParticipantKeys::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ParticipantKeys" if constantValues.empty? value end |