/mruby-slack-notifier

A mruby wrapper to notify to Slack webhooks.

Primary LanguageRubyMIT LicenseMIT

mruby-slack-notifier Build Status

A wrapper to notify to Slack webhooks. This project is a port of slack-notifier to mruby.

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'hfm/mruby-slack-notifier'
end

example

slack = Slack::Notifier.new 'webhook_url'
slack.notify 'hello'

License

under the MIT License: