Class: Synapse::Command::CommandMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/synapse/command/message.rb

Overview

Represents an intent to change application state

Instance Attribute Summary

Attributes inherited from Message

#id, #metadata, #payload, #timestamp

Class Method Summary collapse

Methods inherited from Message

#and_metadata, as_message, build, #initialize, #payload_type, #with_metadata

Constructor Details

This class inherits a constructor from Synapse::Message

Class Method Details

.builderClass

Returns:

  • (Class)


6
7
8
# File 'lib/synapse/command/message.rb', line 6

def self.builder
  CommandMessageBuilder
end