Sha256: 3b0db00b5a3a4b6461b4259dfa59be0dab8b846db27eaa9c8447fbb3b777af4e
Contents?: true
Size: 544 Bytes
Versions: 17
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class WorldAccess < Struct # Access level. attribute :view, Types::Strict::String.enum('world') # Download access level. attribute :download, Types::Strict::String.enum('none', 'stanford', 'world') # Not used for this access type, must be null. attribute :location, Types::Strict::String.optional.enum('').meta(omittable: true) attribute :controlledDigitalLending, Types::Strict::Bool.enum(false).meta(omittable: true) end end end
Version data entries
17 entries across 17 versions & 1 rubygems