Module: Slack::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/slack/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



7
8
9
# File 'lib/slack/config.rb', line 7

def logger
  @logger
end

#tokenObject

Returns the value of attribute token.



6
7
8
# File 'lib/slack/config.rb', line 6

def token
  @token
end

Instance Method Details

#resetObject



9
10
11
12
# File 'lib/slack/config.rb', line 9

def reset
  self.token = nil
  self.logger = nil
end