lib/algolia/client.rb in algoliasearch-1.1.14 vs lib/algolia/client.rb in algoliasearch-1.1.15
- old
+ new
@@ -85,9 +85,10 @@
s.headers[Protocol::HEADER_API_KEY] = api_key
s.headers[Protocol::HEADER_APP_ID] = application_id
s.headers["Content-Type"] = "application/json; charset=utf-8"
s.headers["User-Agent"] = "Algolia for Ruby #{::Algolia::VERSION}"
s.verbose = true if @debug
+ s.cacert = File.join File.dirname(__FILE__), '..', '..', 'resources', 'ca-bundle.crt'
s.encoding = ''
end
hinfo
end
end