Skip to content

Commit 922e188

Browse files
committed
Update example
1 parent 2230b21 commit 922e188

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ gem 'line-bot-api'
2323

2424
And then execute:
2525

26-
```ruby
26+
```sh
2727
bundle
2828
```
2929

@@ -44,6 +44,7 @@ require 'line/bot'
4444

4545
def client
4646
@client ||= Line::Bot::Client.new { |config|
47+
config.channel_id = ENV["LINE_CHANNEL_ID"]
4748
config.channel_secret = ENV["LINE_CHANNEL_SECRET"]
4849
config.channel_token = ENV["LINE_CHANNEL_TOKEN"]
4950
}

examples/kitchensink/app.rb

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
def client
1111
@client ||= Line::Bot::Client.new do |config|
12+
config.channel_id = ENV["LINE_CHANNEL_ID"]
1213
config.channel_secret = ENV["LINE_CHANNEL_SECRET"]
1314
config.channel_token = ENV["LINE_CHANNEL_TOKEN"]
1415
config.http_options = {

0 commit comments

Comments
 (0)