Sha256: d4ddb06d5b202d1ddbe907051c7c46c4d0c7340ba3631b694f6619fb4a47338e

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 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
```

Get groups
```ruby
slack.groups
```

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

1 entries across 1 versions & 1 rubygems

Version Path
danger-slack-0.0.3 README.md