Class: CurationConcerns::Actors::ApplyOrderActor

Inherits:
AbstractActor show all
Defined in:
app/actors/curation_concerns/actors/apply_order_actor.rb

Overview

Since:

  • 0.14.0

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 CurationConcerns::Actors::AbstractActor

Instance Method Details

#update(attributes) ⇒ Object

Since:

  • 0.14.0



4
5
6
7
# File 'app/actors/curation_concerns/actors/apply_order_actor.rb', line 4

def update(attributes)
  ordered_member_ids = attributes.delete(:ordered_member_ids)
  sync_members(ordered_member_ids) && apply_order(ordered_member_ids) && next_actor.update(attributes)
end