Class: Hyrax::CurationConcern
- Inherits:
-
Object
- Object
- Hyrax::CurationConcern
- Defined in:
- app/services/hyrax/curation_concern.rb
Class Method Summary collapse
-
.actor(curation_concern, current_ability) ⇒ #create, #update
A consumer of this method can inject a different factory into this class in order to change the behavior of this method.
-
.actor_factory ⇒ Hyrax::ActorFactory
You can customize the actor stack, so long as you do so before the actor is used.
Class Method Details
.actor(curation_concern, current_ability) ⇒ #create, #update
A consumer of this method can inject a different factory into this class in order to change the behavior of this method.
16 17 18 |
# File 'app/services/hyrax/curation_concern.rb', line 16 def self.actor(curation_concern, current_ability) actor_factory.build(curation_concern, current_ability) end |
.actor_factory ⇒ Hyrax::ActorFactory
You can customize the actor stack, so long as you do so before the actor is used. Once it is used, it becomes immutable.
6 7 8 |
# File 'app/services/hyrax/curation_concern.rb', line 6 def self.actor_factory Hyrax::ActorFactory end |