24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/slack/web/config.rb', line 24
def reset
self.endpoint = 'https://slack.com/api/'
self.user_agent = "Slack Ruby Client/#{Slack::VERSION}"
self.ca_path = defined?(OpenSSL) ? OpenSSL::X509::DEFAULT_CERT_DIR : nil
self.ca_file = defined?(OpenSSL) ? OpenSSL::X509::DEFAULT_CERT_FILE : nil
self.token = nil
self.proxy = nil
self.logger = nil
self.timeout = nil
self.open_timeout = nil
self.default_page_size = 100
self.default_max_retries = 100
self.adapter = ::Faraday.default_adapter
end
|