Sha256: d2f7da4c61f52ff423703bd08470531dd9749d812c0467e56f69b57c67f703d8
Contents?: true
Size: 482 Bytes
Versions: 21
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class Access < Struct # Access level attribute :access, Types::Strict::String.default('dark').enum('world', 'stanford', 'location-based', 'citation-only', 'dark').meta(omittable: true) # If access is "location-based", which location should have access. attribute :readLocation, Types::Strict::String.enum('spec', 'music', 'ars', 'art', 'hoover', 'm&m').meta(omittable: true) end end end
Version data entries
21 entries across 21 versions & 1 rubygems