Sha256: 41de6c3e3e3e9b9073a11550077170b81e95da0c8216d34f99f688d40348225c
Contents?: true
Size: 819 Bytes
Versions: 17
Compression:
Stored size: 819 Bytes
Contents
# frozen_string_literal: true module Dor module Services class Client # A tag that indicates the item or collection should be released. class ReleaseTag < Dry::Struct transform_keys(&:to_sym) schema schema.strict # 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 end
Version data entries
17 entries across 17 versions & 1 rubygems