Sha256: a8a4a20b703f77b7ea075cf4e1c9f5158200d1c53accf6da4031676f4a93308c
Contents?: true
Size: 836 Bytes
Versions: 4
Compression:
Stored size: 836 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 Source PUBLIC_URL = 'PUBLIC_URL'.freeze API_EMBEDDED = 'API_EMBEDDED'.freeze API_REMOTE = 'API_REMOTE'.freeze UI_REMOTE = 'UI_REMOTE'.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 = Source.constants.select { |c| Source::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Source" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems