lib/slack/real_time/config.rb in slack-ruby-client-0.2.0 vs lib/slack/real_time/config.rb in slack-ruby-client-0.2.1
- old
+ new
@@ -2,17 +2,20 @@
module RealTime
module Config
extend self
ATTRIBUTES = [
+ :token,
:websocket_ping,
:websocket_proxy
]
attr_accessor(*Config::ATTRIBUTES)
def reset
self.websocket_ping = 30
+ self.websocket_proxy = nil
+ self.token = nil
end
end
class << self
def configure