lib/slack/connection.rb in slack-api-1.1.1 vs lib/slack/connection.rb in slack-api-1.1.2
- old
+ new
@@ -9,9 +9,10 @@
def connection
options = {
:headers => {'Accept' => "application/json; charset=utf-8", 'User-Agent' => user_agent},
:proxy => proxy,
:url => endpoint,
+ :ssl => { :ca_path => ca_path, :ca_file => ca_file },
}
Faraday::Connection.new(options) do |connection|
connection.use Faraday::Request::Multipart
connection.use Faraday::Request::UrlEncoded