module Slack::Web::Config

Constants

ATTRIBUTES

Public Instance Methods

reset() click to toggle source
# File lib/slack/web/config.rb, line 18
def reset
  self.endpoint = 'https://slack.com/api/'
  self.user_agent = "Slack Ruby Client/#{Slack::VERSION}"
  self.ca_path = `openssl version -a | grep OPENSSLDIR | awk '{print $2}'|sed -e 's/\"//g'`
  self.ca_file = "#{ca_path}/ca-certificates.crt"
  self.token = nil
  self.proxy = nil
  self.logger = nil
end