Class: Swarm::StorageParticipant
- Inherits:
-
Participant
- Object
- Participant
- Swarm::StorageParticipant
- Defined in:
- lib/swarm/participants/storage_participant.rb
Instance Attribute Summary
Attributes inherited from Participant
Instance Method Summary collapse
Methods inherited from Participant
#arguments, #initialize, #workitem
Constructor Details
This class inherits a constructor from Swarm::Participant
Instance Method Details
#work ⇒ Object
5 6 7 8 9 10 |
# File 'lib/swarm/participants/storage_participant.rb', line 5 def work StoredWorkitem.create({ :hive => hive, :expression_id => expression.id }) end |