beetle_joevandyk_extensions 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module BeetleJoevandykExtensions
|
|
21
21
|
client = Beetle::Client.new
|
22
22
|
client.register_queue name
|
23
23
|
client.register_handler name do |input|
|
24
|
-
block.call(JSON.parse(input.data).to_json
|
24
|
+
block.call(JSON.parse(input.data)).to_json
|
25
25
|
end
|
26
26
|
client.listen do
|
27
27
|
puts "Started #{ name } at #{ Time.now }"
|