lib/slack/connection.rb in slack-api-1.0.0 vs lib/slack/connection.rb in slack-api-1.1.0
- old
+ new
@@ -12,9 +12,10 @@
:proxy => proxy,
:url => endpoint,
}
Faraday::Connection.new(options) do |connection|
+ connection.use Faraday::Request::Multipart
connection.use Faraday::Request::UrlEncoded
connection.use Faraday::Response::ParseJson
connection.use FaradayMiddleware::RaiseHttpException
connection.adapter(adapter)
end