Sha256: ba8823403784ce6f1b0732030ee8db4447de5e457acba41ff357745cb96376f1
Contents?: true
Size: 766 Bytes
Versions: 4
Compression:
Stored size: 766 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 WebFormState ACTIVE = 'active'.freeze DRAFT = 'draft'.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 = WebFormState.constants.select { |c| WebFormState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #WebFormState" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems