lib/google_pubsub_enhancer/publisher.rb in google-pubsub-enhancer-0.1.0 vs lib/google_pubsub_enhancer/publisher.rb in google-pubsub-enhancer-0.1.1
- old
+ new
@@ -8,10 +8,9 @@
end
def call(env)
google_cloud_pubsub.publish(@full_topic_name) do |publisher|
[*env[@messages_key]].each do |m|
- p m
publisher.publish(m)
end
end
@app.call(env)
end