class DocuSign_WebForms::InstanceSource

Constants

API_EMBEDDED
API_REMOTE
PUBLIC_URL
UI_REMOTE
WORKFLOW

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/instance_source.rb, line 26
def build_from_hash(value)
  constantValues = InstanceSource.constants.select { |c| InstanceSource::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #InstanceSource" if constantValues.empty?
  value
end