lib/hull/connection.rb in hullio-0.3.2 vs lib/hull/connection.rb in hullio-0.3.3
- old
+ new
@@ -18,12 +18,10 @@
:accept => 'application/json',
:user_agent => user_agent,
},
:ssl => {:verify => false},
:url => options.fetch(:org_url, org_url),
- :timeout => 10,
- :proxy => options.fetch(:proxy, proxy),
- :open_timeout => 10
+ :proxy => options.fetch(:proxy, proxy)
}
@connection ||= Faraday.new(default_options.deep_merge(connection_options)) do |builder|
builder.use Hull::Request::Auth, credentials
builder.use Faraday::Request::UrlEncoded
builder.use FaradayMiddleware::Caching, cache_store unless cache_store.nil?