Sha256: c8651ef785368b18670b5f036209cf04b842a44f5b1edefacfe1bf6dfc2cfcb1
Contents?: true
Size: 662 Bytes
Versions: 11
Compression:
Stored size: 662 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) # Download access level for a file attribute :download, Types::Strict::String.default('none').enum('world', 'stanford', 'location-based', 'none').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
11 entries across 11 versions & 1 rubygems