Sha256: 64f8c2652f8de1865e30b4f857476879b8bc6d60c3ef4517320d5eefe51f8769
Contents?: true
Size: 699 Bytes
Versions: 31
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true module Cocina module Models # A tag that indicates the item or collection should be released. class ReleaseTag < Struct # Who did this release # example: petucket attribute? :who, Types::Strict::String # What is being released. This item or the whole collection. # example: self attribute? :what, Types::Strict::String.enum('self', 'collection') # When did this action happen attribute? :date, Types::Params::DateTime # What platform is it released to # example: Searchworks attribute? :to, Types::Strict::String attribute :release, Types::Strict::Bool.default(false) end end end
Version data entries
31 entries across 31 versions & 1 rubygems