Sha256: 403db2a31aad635e132cab7eaec1334f09d12d7ec0ca8a6c90e397ad88668eb8
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
# danger-slack Notify danger reports to slack. ## Installation $ gem install danger-slack ## Usage ### How to set your Slack API token In Dangerfile, ```ruby slack.api_token = 'SLACK_API_TOKEN' ``` or Set Environment variable `SLACK_API_TOKEN` ### methods Get channels ```ruby slack.channels ``` Get members ```ruby slack.members ``` Notify danger reports to slack ```ruby slack.notify(channel: '#your_channel') ``` Post message to slack ```ruby slack.notify(channel: '#your_channel', text: 'hello danger') ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danger-slack-0.0.2 | README.md |
danger-slack-0.0.1 | README.md |