Support passing options in Faraday Adapter

The options are passed on to the created Session
This commit is contained in:
Bouke van der Bijl 2022-01-14 15:48:37 +00:00
parent 0149317761
commit 6e52640bd5

View File

@ -200,9 +200,9 @@ module Faraday
end
end
def initialize(app)
def initialize(app, options={})
super(app)
@session = Session.new
@session = Session.new(options)
end
def call(env)