class DocuSign_WebForms::Source
Constants
- API_EMBEDDED
- API_REMOTE
- PUBLIC_URL
- UI_REMOTE
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/docusign_webforms/models/source.rb, line 25 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