1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Allow Fog::Connection to pass additional connection params to Excon.

This commit is contained in:
Matt Sanders 2011-01-20 07:56:29 +08:00 committed by Wesley Beary
parent e6916a7025
commit f11d447b1b

View file

@ -1,8 +1,8 @@
module Fog
class Connection
def initialize(url, persistent=false)
@excon = Excon.new(url)
def initialize(url, persistent=false, params={})
@excon = Excon.new(url, params)
@persistent = persistent
end