Class: CheckAndNotify::Notifiers::Slack
- Inherits:
-
Object
- Object
- CheckAndNotify::Notifiers::Slack
- Defined in:
- lib/check_and_notify/notifiers/slack.rb
Constant Summary collapse
- HEADERS =
{'Content-Type' => 'application/json'}
Class Method Summary collapse
Class Method Details
.notify(params) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/check_and_notify/notifiers/slack.rb', line 6 def self.notify(params) @slack_webhook_url = params[:slack_webhook_url] @message = params[:message] post end |