Sha256: 2c89b4177562723a9dde2e8ae042e55d710845e8d68aef7232af2a7b0b9650ee
Contents?: true
Size: 957 Bytes
Versions: 4
Compression:
Stored size: 957 Bytes
Contents
=begin #DocuSign Rooms API - v2 #An API for an integrator to access the features of DocuSign Rooms OpenAPI spec version: v2 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'date' module DocuSign_Rooms class RoomUserSortingOption FIRST_NAME_ASC = 'FirstNameAsc'.freeze LAST_NAME_ASC = 'LastNameAsc'.freeze EMAIL_ASC = 'EmailAsc'.freeze FIRST_NAME_DESC = 'FirstNameDesc'.freeze LAST_NAME_DESC = 'LastNameDesc'.freeze EMAIL_DESC = 'EmailDesc'.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 = RoomUserSortingOption.constants.select { |c| RoomUserSortingOption::const_get(c) == value } raise "Invalid ENUM value #{value} for class #RoomUserSortingOption" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems