lib/gameball/utils/request.rb in gameball-2.0.1 vs lib/gameball/utils/request.rb in gameball-2.1.1
- old
+ new
@@ -10,10 +10,9 @@
end
uri = URI(Gameball.api_base + "/api" + "/" + Gameball.api_version + path)
if params != {}
uri.query=URI.encode_www_form(params)
end
- puts uri
https = Net::HTTP.new(uri.host, uri.port)
https.max_retries = Gameball.max_retries
https.read_timeout = Gameball.read_timeout
https.keep_alive_timeout = Gameball.keep_alive_timeout
https.use_ssl = true