app/models/apidae/selection.rb in apidae-1.3.17 vs app/models/apidae/selection.rb in apidae-1.3.18
- old
+ new
@@ -218,10 +218,10 @@
end
def get_response(args)
response = ''
query = JSON.generate args.except(:url)
- logger.info "Apidae API query : #{args[:url]}?query=#{query}"
+ logger.debug "Apidae API query : #{args[:url]}?query=#{query}"
open("#{args[:url]}?query=#{CGI.escape query}") { |f|
f.each_line {|line| response += line if line}
}
response
end