https://github.com/hfm/mruby-slack-notifier
A mruby wrapper to notify to Slack webhooks.
https://github.com/hfm/mruby-slack-notifier
mruby slack slack-notifier webhook
Last synced: 12 months ago
JSON representation
A mruby wrapper to notify to Slack webhooks.
- Host: GitHub
- URL: https://github.com/hfm/mruby-slack-notifier
- Owner: hfm
- License: mit
- Created: 2016-09-26T03:44:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-20T23:40:57.000Z (over 7 years ago)
- Last Synced: 2025-02-02T23:15:23.337Z (about 1 year ago)
- Topics: mruby, slack, slack-notifier, webhook
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mruby-slack-notifier [](https://travis-ci.org/hfm/mruby-slack-notifier)
A wrapper to notify to [Slack](https://slack.com) webhooks. This project is a port of [slack-notifier](https://github.com/stevenosloan/slack-notifier) to [mruby](https://github.com/mruby/mruby).
## install by mrbgems
- add conf.gem line to `build_config.rb`
```ruby
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :github => 'hfm/mruby-slack-notifier'
end
```
## example
```ruby
slack = Slack::Notifier.new 'webhook_url'
slack.notify 'hello'
```
## License
under the MIT License:
- see [LICENSE](./LICENSE) file