Sha256: edaebc69b3f6ab21f4fc93487443f6bc9d8e1e7225530a596a8cbc37eb7b791b

Contents?: true

Size: 505 Bytes

Versions: 17

Compression:

Stored size: 505 Bytes

Contents

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hyrax-5.0.2 lib/hyrax/transactions/admin_set_update.rb
hyrax-5.0.1 lib/hyrax/transactions/admin_set_update.rb
hyrax-5.0.0 lib/hyrax/transactions/admin_set_update.rb
hyrax-5.0.0.rc3 lib/hyrax/transactions/admin_set_update.rb
hyrax-5.0.0.rc2 lib/hyrax/transactions/admin_set_update.rb
hyrax-5.0.0.rc1 lib/hyrax/transactions/admin_set_update.rb
hyrax-3.6.0 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0.rc3 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0.rc2 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0.rc1 lib/hyrax/transactions/admin_set_update.rb
hyrax-3.5.0 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0.beta2 lib/hyrax/transactions/admin_set_update.rb
hyrax-3.4.2 lib/hyrax/transactions/admin_set_update.rb
hyrax-4.0.0.beta1 lib/hyrax/transactions/admin_set_update.rb
hyrax-3.4.1 lib/hyrax/transactions/admin_set_update.rb
hyrax-3.4.0 lib/hyrax/transactions/admin_set_update.rb