Add ca_path to SSL options hash

This commit is contained in:
Alex Kremer 2011-04-10 20:34:13 +08:00 committed by Erik Michaels-Ober
parent b85e0a18df
commit 71c101b0eb

View File

@ -22,6 +22,7 @@ module Faraday
http.cert = ssl[:client_cert] if ssl[:client_cert]
http.key = ssl[:client_key] if ssl[:client_key]
http.ca_file = ssl[:ca_file] if ssl[:ca_file]
http.ca_path = ssl[:ca_path] if ssl[:ca_path]
http.cert_store = ssl[:cert_store] if ssl[:cert_store]
end