Class: HeartTop::Plugin::Slack
- Includes:
- Singleton
- Defined in:
- lib/heart_top/plugin/slack.rb
Instance Method Summary collapse
Instance Method Details
#ping ⇒ Object
13 14 15 |
# File 'lib/heart_top/plugin/slack.rb', line 13 def ping `curl -X POST --data-urlencode 'payload=#{payload}' #{webhook_url}` end |