lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.0.0.rc19 vs lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.0.0.rc20
- old
+ new
@@ -16,9 +16,10 @@
# Set default params encoder
Faraday::Utils.default_params_encoder = Faraday::FlatParamsEncoder
end
def request(host, port, method, url, params={}, data={}, headers={}, auth=nil, timeout=nil)
+ 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])