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