Class: Hyrax::Transactions::CollectionUpdate

Inherits:
Transaction
  • Object
show all
Defined in:
lib/hyrax/transactions/collection_update.rb

Overview

Updates a Collection from a ChangeSet

Since:

  • 3.2.0

Constant Summary collapse

DEFAULT_STEPS =

Since:

  • 3.2.0

['change_set.apply',
'collection_resource.save_collection_banner',
'collection_resource.save_collection_logo',
'collection_resource.save_acl'].freeze

Instance Attribute Summary

Attributes inherited from Transaction

#container, #steps

Instance Method Summary collapse

Methods inherited from Transaction

#call, #with_step_args

Constructor Details

#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ CollectionUpdate

Returns a new instance of CollectionUpdate.

See Also:

Since:

  • 3.2.0



18
19
20
# File 'lib/hyrax/transactions/collection_update.rb', line 18

def initialize(container: Container, steps: DEFAULT_STEPS)
  super
end