Class: HeartTop::Plugin::Slack

Inherits:
Base
  • Object
show all
Includes:
Singleton
Defined in:
lib/heart_top/plugin/slack.rb

Instance Method Summary collapse

Instance Method Details

#pingObject



13
14
15
# File 'lib/heart_top/plugin/slack.rb', line 13

def ping
  `curl -X POST --data-urlencode 'payload=#{payload}' #{webhook_url}`
end