Sha256: b3c0c09b99e47e15d225885eb52e28904762f49e198246b82fd4e3bc5fab0283

Contents?: true

Size: 559 Bytes

Versions: 13

Compression:

Stored size: 559 Bytes

Contents

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

module Hyrax
  module Transactions
    ##
    # Destroys a {Hyraxe::AdministrativeSet}
    #
    # @since 3.4.0
    class AdminSetDestroy < Transaction
      DEFAULT_STEPS = ['admin_set_resource.check_empty',
                       'admin_set_resource.delete',
                       'admin_set_resource.delete_acl'].freeze

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

Version data entries

13 entries across 13 versions & 1 rubygems

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