Class: SlackConf
- Inherits:
-
Object
- Object
- SlackConf
- Defined in:
- lib/has_helpers/utils/slack_conf.rb
Class Method Summary collapse
Class Method Details
.client ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/has_helpers/utils/slack_conf.rb', line 7 def client @client ||= begin Slack.configure do |config| config.token = end Slack::Web::Client.new end end |
.config_options ⇒ Object
17 18 19 |
# File 'lib/has_helpers/utils/slack_conf.rb', line 17 def @config_options ||= (config.token || "") end |