Class: DocuSign_Maestro::DeploymentStatus
- Inherits:
-
Object
- Object
- DocuSign_Maestro::DeploymentStatus
- Defined in:
- lib/docusign_maestro/models/deployment_status.rb
Constant Summary collapse
- DEPLOYMENT_IN_PROGRESS =
'Deployment In Progress'.freeze
- DEPLOYED =
'Deployed'.freeze
- FAILED =
'Failed'.freeze
- DELETE_IN_PROGRESS =
'Delete in Progress'.freeze
- DELETED =
'Deleted'.freeze
- NOT_DEPLOYED =
'Not Deployed'.freeze
- UNPUBLISH_IN_PROGRESS =
'Unpublish in Progress'.freeze
- UNPUBLISHED =
'Unpublished'.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
29 30 31 32 33 |
# File 'lib/docusign_maestro/models/deployment_status.rb', line 29 def build_from_hash(value) constantValues = DeploymentStatus.constants.select { |c| DeploymentStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #DeploymentStatus" if constantValues.empty? value end |