Last active
August 29, 2015 14:20
-
-
Save neilbartley/21d1d6e1d4ffb09700c9 to your computer and use it in GitHub Desktop.
Sending notifications to Slack using BespokeSlackbotService
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
Loading development environment (Rails 4.0.9) | |
2.0.0-p598 :001 > BespokeSlackbotService.new.clicky_clicky('Clicky Clickerson','no','more','emails').deliver | |
=> #<Net::HTTPOK 200 OK readbody=true> | |
2.0.0-p598 :002 > BespokeSlackbotService.new('#different_channel').clicky_clicky('Clicky Clickerson','no','more','emails').deliver | |
=> #<Net::HTTPOK 200 OK readbody=true> | |
2.0.0-p598 :003 > BespokeSlackbotService.new('@a_user').clicky_clicky('Clicky Clickerson','no','more','emails').deliver | |
=> #<Net::HTTPOK 200 OK readbody=true> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment