Class: Hyrax::Actors::CleanupTrophiesActor

Inherits:
AbstractActor show all
Defined in:
app/actors/hyrax/actors/cleanup_trophies_actor.rb

Overview

Responsible for removing trophies related to the given curation concern.

Instance Attribute Summary

Attributes inherited from AbstractActor

#next_actor

Instance Method Summary collapse

Methods inherited from AbstractActor

#initialize

Constructor Details

This class inherits a constructor from Hyrax::Actors::AbstractActor

Instance Method Details

#destroy(env) ⇒ Boolean

Returns true if destroy was successful.

Parameters:

Returns:

  • (Boolean)

    true if destroy was successful


8
9
10
11
# File 'app/actors/hyrax/actors/cleanup_trophies_actor.rb', line 8

def destroy(env)
  cleanup_trophies(env)
  next_actor.destroy(env)
end