Sha256: e946edd2b1f97c76c432133138ec03e5214213f326ff48bee7511db8916bb986

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

# Internal: Struct to store message details for passing around.
#
# to      - The routing key for the message to as a String. In accordance
#           with the RabbitMQ convention you can use the '*' character to
#           replace one word and the '#' to replace many words.
# body    - The message as a String.
# headers - Hash of message headers.
class Message < Struct.new(:to, :body, :headers)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
proletariat-0.1.2 lib/proletariat/message.rb
proletariat-0.1.1 lib/proletariat/message.rb
proletariat-0.1.0 lib/proletariat/message.rb