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