lib/slack/config.rb in slack-ruby-client-0.5.2 vs lib/slack/config.rb in slack-ruby-client-0.5.3
- old
+ new
@@ -1,9 +1,13 @@
module Slack
module Config
extend self
attr_accessor :token
+
+ def reset
+ self.token = nil
+ end
end
class << self
def configure
block_given? ? yield(Config) : Config