lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.0.0.rc2 vs lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.0.0.rc3
- old
+ new
@@ -13,11 +13,9 @@
@ssl_ca_file = ssl_ca_file
@adapter = Faraday.default_adapter
end
def request(host, port, method, url, params={}, data={}, headers={}, auth=nil, timeout=nil)
- puts host
- puts url
@connection = Faraday.new(url: host + ":" + port.to_s, ssl: {verify: true}) do |f|
f.request :url_encoded
f.adapter @adapter
f.headers = headers
f.basic_auth(auth[0], auth[1])