lolitra 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lolitra/handler_base.rb +6 -6
- data/lib/lolitra/version.rb +1 -1
- metadata +2 -2
data/lib/lolitra/handler_base.rb
CHANGED
@@ -165,14 +165,14 @@ module Lolitra
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
168
|
-
def self.publish(
|
169
|
-
|
170
|
-
Lolitra::logger.debug("#{message.marshall}")
|
171
|
-
instance.publish(message_instance)
|
168
|
+
def self.publish(message)
|
169
|
+
instance.publish(message)
|
172
170
|
end
|
173
171
|
|
174
|
-
def publish(
|
175
|
-
|
172
|
+
def publish(message)
|
173
|
+
Lolitra::logger.debug("Message sent: #{message.class.message_key}")
|
174
|
+
Lolitra::logger.debug("#{message.marshall}")
|
175
|
+
bus.publish(message)
|
176
176
|
end
|
177
177
|
end
|
178
178
|
|
data/lib/lolitra/version.rb
CHANGED