Class: Hyrax::Actors::ApplyOrderActor
- Inherits:
-
AbstractActor
- Object
- AbstractActor
- Hyrax::Actors::ApplyOrderActor
- Defined in:
- app/actors/hyrax/actors/apply_order_actor.rb
Instance Attribute Summary
Attributes inherited from AbstractActor
Instance Method Summary collapse
-
#update(env) ⇒ Boolean
True if update was successful.
Methods inherited from AbstractActor
Constructor Details
This class inherits a constructor from Hyrax::Actors::AbstractActor
Instance Method Details
#update(env) ⇒ Boolean
Returns true if update was successful.
6 7 8 9 10 11 |
# File 'app/actors/hyrax/actors/apply_order_actor.rb', line 6 def update(env) ordered_member_ids = env.attributes.delete(:ordered_member_ids) sync_members(env, ordered_member_ids) && apply_order(env.curation_concern, ordered_member_ids) && next_actor.update(env) end |