lib/eventbus/message.rb in eventbus-0.27 vs lib/eventbus/message.rb in eventbus-0.28
- old
+ new
@@ -8,10 +8,10 @@
class Message
attr_reader :data
- def initialize(application_id)
+ def initialize(application_id = EventBus.application_id)
raise "No application ID specified!" if application_id.nil?
@data = {
'HEADER' => {