Sha256: f6280ca194e33fffb40675cbbf02b135880bdac19545bb899131f706351b9641
Contents?: true
Size: 598 Bytes
Versions: 40
Compression:
Stored size: 598 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class LocationBasedAccess < Struct # Access level. attribute :view, Types::Strict::String.enum('location-based') # Download access level. attribute :download, Types::Strict::String.enum('location-based', 'none') # If access or download is "location-based", which location should have access. attribute :location, Types::Strict::String.enum('spec', 'music', 'ars', 'art', 'hoover', 'm&m') attribute? :controlledDigitalLending, Types::Strict::Bool.default(false).enum(false) end end end
Version data entries
40 entries across 40 versions & 1 rubygems