lib/rabbit/event_handler.rb in rabbit_messaging-0.7.1 vs lib/rabbit/event_handler.rb in rabbit_messaging-0.8.1

- old
+ new

@@ -5,11 +5,13 @@ class Rabbit::EventHandler include Tainbox attribute :project_id - attr_accessor :data + attribute :data + attribute :message_info + class_attribute :queue class_attribute :ignore_queue_conversion, default: false class << self private @@ -18,10 +20,11 @@ self.queue = queue || block end end def initialize(message) - self.attributes = message.data - self.data = message.data - self.project_id = message.project_id + self.attributes = message.data + self.data = message.data + self.project_id = message.project_id + self.message_info = message.arguments end end