Sha256: 81a2cbb2bec8d8f5c9417b28d955c836502e1ab41d6c250b6bc334e889590793
Contents?: true
Size: 460 Bytes
Versions: 30
Compression:
Stored size: 460 Bytes
Contents
# frozen_string_literal: true module Scim module Kit module V2 # Represents the valid Uniqueness values class Uniqueness NONE = 'none' SERVER = 'server' GLOBAL = 'global' VALID = { none: NONE, server: SERVER, global: GLOBAL }.freeze def self.find(value) VALID[value.to_sym] || (raise ArgumentError, :uniqueness) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems