Class: Hyrax::Actors::AssignRepresentativeActor
- Inherits:
-
AbstractActor
- Object
- AbstractActor
- Hyrax::Actors::AssignRepresentativeActor
- Defined in:
- app/actors/hyrax/actors/assign_representative_actor.rb
Instance Attribute Summary
Attributes inherited from AbstractActor
Instance Method Summary collapse
Methods inherited from AbstractActor
Constructor Details
This class inherits a constructor from Hyrax::Actors::AbstractActor
Instance Method Details
#create(attributes) ⇒ Object
4 5 6 |
# File 'app/actors/hyrax/actors/assign_representative_actor.rb', line 4 def create(attributes) next_actor.create(attributes) && assign_representative end |