rack-error_to_slack 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/lib/rack/error_to_slack/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fae7b84a0557b3adfc1a873e2e7180c371d68a91
|
4
|
+
data.tar.gz: 8b9b5a2596aa20b51aae08d909109b77a5595804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0970b1be8f09618c6ff6637f5015f426d7030fb973dd7034833f8f86bd90d3f8d70edd3056637ac6358a569dfb0e53094812d1731f9ad6b5c5b187c14e1d1ecb
|
7
|
+
data.tar.gz: 3b1e6a0dda0ba62be52fec40150ebd19cd6e22564ade41eb20e639b5cd49b13b8edc99004fbf86c777ed04cb586de1685230b188361688b4e357923b43e0b61d
|
data/README.md
CHANGED
@@ -32,11 +32,13 @@ config.middleware.use Rack::ErrorToSlack
|
|
32
32
|
```
|
33
33
|
Rack::ErrorToSlack.configure do |config|
|
34
34
|
config.webhook_url = 'https://hooks.slack.com/services/your_webhook_url'
|
35
|
+
|
35
36
|
### follows are option ###
|
36
|
-
# emoji icon of slack post
|
37
|
-
config.emoji = ':ghost:'
|
38
|
-
|
39
|
-
|
37
|
+
# emoji icon of slack post. DEFAULT VALUE: ':innocent:'
|
38
|
+
config.emoji = ':ghost:'
|
39
|
+
|
40
|
+
# username of slack post. DEFAULT VALUE: 'ErrorToSlack'
|
41
|
+
config.slackname = 'ErrorSharing'
|
40
42
|
end
|
41
43
|
```
|
42
44
|
|