examples/hi_web/hi.rb in slack-ruby-client-0.10.0 vs examples/hi_web/hi.rb in slack-ruby-client-0.11.0
- old
+ new
@@ -1,9 +1,9 @@
require 'slack-ruby-client'
Slack.configure do |config|
config.token = ENV['SLACK_API_TOKEN']
- fail 'Missing ENV[SLACK_API_TOKEN]!' unless config.token
+ raise 'Missing ENV[SLACK_API_TOKEN]!' unless config.token
end
client = Slack::Web::Client.new
client.auth_test