Sha256: d6c7dc6680ef6c4b467abdb476faeef9a4130d0f70f6d9f59da0b0795ab46f58
Contents?: true
Size: 583 Bytes
Versions: 4
Compression:
Stored size: 583 Bytes
Contents
# frozen_string_literal: true require 'hyrax/transactions/transaction' module Hyrax module Transactions ## # destroys a FileSet resource. # # @since 3.1.0 class FileSetDestroy < Transaction DEFAULT_STEPS = ['file_set.delete_all_file_metadata', 'file_set.remove_from_work', 'file_set.delete_acl', 'file_set.delete'].freeze ## # @see Hyrax::Transactions::Transaction def initialize(container: Container, steps: DEFAULT_STEPS) super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems