lib/vidar/slack_notification.rb in vidar-0.2.0 vs lib/vidar/slack_notification.rb in vidar-0.2.1
- old
+ new
@@ -26,10 +26,9 @@
message = "Successful deploy of #{github_link} to #{cluster_link}"
perform_with data(message: message, color: SUCCESS_COLOR)
end
def perform_with(data)
- p data
connection.post do |req|
req.url webhook_url
req.headers['Content-Type'] = 'application/json'
req.body = data.to_json
end