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
7 8 9 10 11 12 |
# File 'lib/swarm/participants/storage_participant.rb', line 7 def work StoredWorkitem.create( hive: hive, expression_id: expression.id ) end |