Sha256: 17bdcbfd69089db8981b3d6f82ad0d69d7c26fd1c4410c7f0b7a2f42cd53d5bc

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true
require 'hyrax/transactions/transaction'

module Hyrax
  module Transactions
    ##
    # Updates a {Hyrax::FileSet} from a ChangeSet
    #
    # @since 3.4.0
    class FileSetUpdate < Transaction
      DEFAULT_STEPS = ['change_set.apply',
                       'file_set.save_acl'].freeze

      ##
      # @see Hyrax::Transactions::Transaction
      def initialize(container: Container, steps: DEFAULT_STEPS)
        super
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hyrax-5.0.2 lib/hyrax/transactions/file_set_update.rb
hyrax-5.0.1 lib/hyrax/transactions/file_set_update.rb
hyrax-5.0.0 lib/hyrax/transactions/file_set_update.rb
hyrax-5.0.0.rc3 lib/hyrax/transactions/file_set_update.rb
hyrax-5.0.0.rc2 lib/hyrax/transactions/file_set_update.rb