Sha256: 24325ac973c28119df6d3a85dd983da894ed1d0ed334dc9e182836d5f5e27ed3
Contents?: true
Size: 848 Bytes
Versions: 2
Compression:
Stored size: 848 Bytes
Contents
=begin #Web Forms API version 1.1 #The Web Forms API facilitates generating semantic HTML forms around everyday contracts. OpenAPI spec version: 1.1.0 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'date' module DocuSign_WebForms class InstanceStatus INITIATED = 'INITIATED'.freeze SUBMITTED = 'SUBMITTED'.freeze EXPIRED = 'EXPIRED'.freeze FAILED = 'FAILED'.freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) constantValues = InstanceStatus.constants.select { |c| InstanceStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #InstanceStatus" if constantValues.empty? value end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docusign_webforms-1.0.0 | lib/docusign_webforms/models/instance_status.rb |
docusign_webforms-1.0.2.rc12 | lib/docusign_webforms/models/instance_status.rb |