Sha256: 093967f362d6c6e769cee180030842e8619e27062bb1820a502c595d320694f9

Contents?: true

Size: 810 Bytes

Versions: 1

Compression:

Stored size: 810 Bytes

Contents

# Slack

- [https://slack.com/](https://slack.com/intl/ja-jp/)

This emitter post a message to Slack via incoming webhook.

```yaml
emitter: slack
webhook_url: ...
channel: ...
```

| Name        | Type   | Required? | Default                         | Desc.             |
| ----------- | ------ | --------- | ------------------------------- | ----------------- |
| webhook_url | String | No        | ENV[SLACK_WEBHOOK_URL]          | Slack webhook URL |
| channel     | String | No        | ENV[SLACK_CHANNEL] / `#general` | Slack channel     |

## Components

### Webhook URL

`url` (`string`) is a Slack's incoming webhook URL. Optional. Defaults to `ENV[SLACK_WEBHOOK_URL]`.

### API Key

`channel` (`string`) is a Slack channel to sent a message. Optional. Defaults to `ENV[SLACK_CHANNEL]` or `#general`.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mihari-5.5.0 docs/emitters/slack.md