Sha256: c0353c531b140ec3de1e1014f15b002702dfa77c5beb1d49a20045977a8e0855
Contents?: true
Size: 830 Bytes
Versions: 4
Compression:
Stored size: 830 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 AccessLevel CONTRIBUTOR = 'Contributor'.freeze OFFICE = 'Office'.freeze REGION = 'Region'.freeze COMPANY = 'Company'.freeze ADMIN = 'Admin'.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 = AccessLevel.constants.select { |c| AccessLevel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AccessLevel" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems