Class: Credentials
- Inherits:
-
Object
- Object
- Credentials
- Defined in:
- lib/credentials.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#set_credentials ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/credentials.rb', line 3 def set_credentials @bot_token = ENV['SLACK_TOKEN'] @bot_name = ENV['SLACK_NAME'] @bot_icon = ENV['SLACK_ICON'] @bot_channel = ENV['SLACK_DEFAULT_CHANNEL'] @bot_default_output = ENV['SLACK_DEFAULT_OUTPUT'] end |