Class: DocuSign_WebForms::InstanceRecipientStatus
- Inherits:
-
Object
- Object
- DocuSign_WebForms::InstanceRecipientStatus
- Defined in:
- lib/docusign_webforms/models/instance_recipient_status.rb
Constant Summary collapse
- INITIATED =
'INITIATED'.freeze
- IN_PROGRESS =
'IN_PROGRESS'.freeze
- SUBMITTED =
'SUBMITTED'.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
24 25 26 27 28 |
# File 'lib/docusign_webforms/models/instance_recipient_status.rb', line 24 def build_from_hash(value) constantValues = InstanceRecipientStatus.constants.select { |c| InstanceRecipientStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #InstanceRecipientStatus" if constantValues.empty? value end |