Sha256: b2f2bfe38668e5398633c53b9df47caef13446cc7dc2210213b68b4381bbe4df
Contents?: true
Size: 270 Bytes
Versions: 1
Compression:
Stored size: 270 Bytes
Contents
module EventAggregator class Message attr_accessor :message_type, :data @message_type = nil @data = nil def initialize(message_type, data) @message_type = message_type @data = data end def publish Aggregator.message_publish( self ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
event_aggregator-0.0.1 | lib/event_aggregator/message.rb |