class DocuSign_Rooms::MemberSortingOption

Constants

EMAIL_ASC
EMAIL_DESC
FIRST_NAME_ASC
FIRST_NAME_DESC
LAST_NAME_ASC
LAST_NAME_DESC

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