Sha256: 0ad2f8a7772f6706d8ce0d842f0c1da6089862284d8f058ca9d2bfd175a85f4c

Contents?: true

Size: 629 Bytes

Versions: 4

Compression:

Stored size: 629 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    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

4 entries across 4 versions & 1 rubygems

Version Path
cocina-models-0.79.0 lib/cocina/models/release_tag.rb
cocina-models-0.78.0 lib/cocina/models/release_tag.rb
cocina-models-0.77.0 lib/cocina/models/release_tag.rb
cocina-models-0.76.0 lib/cocina/models/release_tag.rb