I hereby claim:
- I am precipice on github.
- I am precipice (https://keybase.io/precipice) on keybase.
- I have a public key ASCQpR7cYxVbRg5Cv4roj4M_28rRfGqbYCJCtswpSUiSZAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def announce | |
users = @proposal.votes_for.up.by_type(Person).voters.map {|p| "<@#{p.slug}>" }.to_sentence.html_safe | |
text = "#{users}: #{params[:announcement]}" | |
client = Slack::Client.new(token: current_person.slack_access_token) | |
response = client.chat_postMessage channel: "#fiascon", text: text, as_user: true | |
respond_to do |format| | |
if response["ok"] | |
format.json { render json: [], status: :created } |
I hereby claim:
To claim this, I am signing this object: