Created
April 8, 2016 16:54
-
-
Save gioiab/a3bebd9135b7254be936aff4ca94f519 to your computer and use it in GitHub Desktop.
Measurence Engineering Blog - Sending a message with the slack-poster gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
poster = Slack::Poster.new(ENV['SLACK_HOOK']) | |
message = { text: "Hello slack!" } | |
poster.send_message(message) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment