lib/restful_resource/base.rb in restful_resource-2.5.1 vs lib/restful_resource/base.rb in restful_resource-2.5.2
- old
+ new
@@ -7,19 +7,23 @@
password: nil,
auth_token: nil,
logger: nil,
cache_store: nil,
instrumentation: {},
+ timeout: nil,
+ open_timeout: nil,
faraday_config: nil,
faraday_options: nil)
@base_url = URI.parse(base_url)
@http = RestfulResource::HttpClient.new(username: username,
password: password,
auth_token: auth_token,
logger: logger,
cache_store: cache_store,
+ timeout: timeout,
+ open_timeout: open_timeout,
instrumentation: instrumentation,
faraday_config: faraday_config,
faraday_options: faraday_options
)
end