Last active
February 12, 2018 02:34
-
-
Save adamjleonard/70a650d3dd7a58c8f36cdd9fac034de1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hash = { id: 1, name: “Mark”, title: “Unicorn Dev” } | |
client.web_client.files_upload({ | |
title: “Attachment Title”, | |
filetype: “javascript”, | |
content: JSON.pretty_generate(hash).to_s, | |
channels: data.channel, | |
filename: “attachment.json” | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment