lib/gom/remote/connection.rb in gom-script-0.1.5 vs lib/gom/remote/connection.rb in gom-script-0.1.6
- old
+ new
@@ -167,10 +167,10 @@
# HTTP OK keeps the subscription alive, even in case of handler errors
[200, {"Content-Type"=>"text/plain"}, ["keep going dude!"]]
end
def decode_gnp_body txt
- debugger if (defined? debugger)
+ #debugger if (defined? debugger)
json = (JSON.parse txt)
puts " -- json GNP: #{json.inspect}"
payload = nil
op = %w{update delete create}.find { |op| json[op] }