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.



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

def logger
  @logger
end

#tokenObject

Returns the value of attribute token.



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

def token
  @token
end

Instance Method Details

#resetObject



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

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