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:
parent
e6916a7025
commit
f11d447b1b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue