module Slack::Config

Attributes

logger[RW]
token[RW]

Public Instance Methods

reset() click to toggle source
# File lib/slack-wrapper/config.rb, line 5
def reset
  self.token  = ENV['SLACK_TOKEN'] ? ENV['SLACK_TOKEN'] : nil
  self.logger = ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'] : nil
end