Make excon adapter compatible with 0.44 excon version

This commit is contained in:
Pasha 2015-03-14 03:07:30 +02:00
parent 07c30a20b9
commit 01b434dbaf

View File

@ -41,6 +41,7 @@ module Faraday
if req[:proxy]
opts[:proxy] = {
:host => req[:proxy][:uri].host,
:hostname => req[:proxy][:uri].hostname,
:port => req[:proxy][:uri].port,
:scheme => req[:proxy][:uri].scheme,
:user => req[:proxy][:user],