Class: Hyrax::Actors::CleanupFileSetsActor
- Inherits:
-
AbstractActor
- Object
- AbstractActor
- Hyrax::Actors::CleanupFileSetsActor
- Defined in:
- app/actors/hyrax/actors/cleanup_file_sets_actor.rb
Overview
Responsible for removing FileSets related to the given curation concern.
Instance Attribute Summary
Attributes inherited from AbstractActor
Instance Method Summary collapse
-
#destroy(env) ⇒ Boolean
True if destroy was successful.
Methods inherited from AbstractActor
Constructor Details
This class inherits a constructor from Hyrax::Actors::AbstractActor
Instance Method Details
#destroy(env) ⇒ Boolean
Returns true if destroy was successful.
8 9 10 11 |
# File 'app/actors/hyrax/actors/cleanup_file_sets_actor.rb', line 8 def destroy(env) cleanup_file_sets(env.curation_concern) next_actor.destroy(env) end |