Sha256: f3c550951f87682d5c4caa59236522d166250a570e40145055c23e366ea37977
Contents?: true
Size: 785 Bytes
Versions: 4
Compression:
Stored size: 785 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 RoomStatus ACTIVE = 'Active'.freeze PENDING = 'Pending'.freeze CLOSED = 'Closed'.freeze OPEN = 'Open'.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 = RoomStatus.constants.select { |c| RoomStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #RoomStatus" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems