質問編集履歴
2
ドキュメントの使用例追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -120,7 +120,27 @@
|
|
120
120
|
|
121
121
|
```
|
122
122
|
|
123
|
+
|
124
|
+
|
123
|
-
|
125
|
+
githubのドキュメントでは例として
|
126
|
+
|
127
|
+
```
|
128
|
+
|
129
|
+
require 'slack-notifier'
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
notifier = Slack::Notifier.new "WEBHOOK_URL"
|
134
|
+
|
135
|
+
notifier.ping "Hello World"
|
136
|
+
|
137
|
+
# => if your webhook is setup, will message "Hello World"
|
138
|
+
|
139
|
+
# => to the default channel you set in slack
|
140
|
+
|
141
|
+
```
|
142
|
+
|
143
|
+
とありますが、`require 'sladk-notifier'`は何処に記述すれば良いのでしょうか?
|
124
144
|
|
125
145
|
|
126
146
|
|
1
初心者マーク
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|