Skip to content

Instantly share code, notes, and snippets.

@horie1024
Created October 14, 2015 02:07
Show Gist options
  • Save horie1024/f109e99ce55b4abe6a29 to your computer and use it in GitHub Desktop.
Save horie1024/f109e99ce55b4abe6a29 to your computer and use it in GitHub Desktop.
uri = URI.parse("SLACK_WEB_HOOK_URL")
data = {"text" => "@vasilybot " + schedule_run_resp.run.arn}
Net::HTTP.post_form(uri, {"payload" => data.to_json})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment