drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Add #cert and #key aliases #26

Closed dlee closed 12 years ago

dlee commented 12 years ago

Users familiar with Net::HTTP can use #cert and #key methods instead of #certificate and #private_key.

This also allows easier swapping in of Net::HTTP::Persistant for code that's already using Net::HTTP.