Class: Synapse::Domain::EventMessageBuilder
- Inherits:
-
MessageBuilder
- Object
- MessageBuilder
- Synapse::Domain::EventMessageBuilder
- Defined in:
- lib/synapse/domain/message_builder.rb
Overview
Message builder capable of producing EventMessage instances
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from MessageBuilder
#id, #metadata, #payload, #timestamp
Instance Method Summary collapse
Methods inherited from MessageBuilder
Instance Method Details
#build ⇒ EventMessage
6 7 8 |
# File 'lib/synapse/domain/message_builder.rb', line 6 def build EventMessage.new @id, @metadata, @payload, @timestamp end |