We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49e85e commit a850a3aCopy full SHA for a850a3a
examples/echobot/Gemfile
@@ -0,0 +1,8 @@
1
+# frozen_string_literal: true
2
+
3
+source "https://rubygems.org"
4
5
+git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6
7
+gem 'sinatra'
8
+gem 'line-bot-api'
examples/echobot/README.md
@@ -0,0 +1,16 @@
+# Echo Bot
+An example LINE bot just to echo messages
+## Getting started
+```ruby
+$ export LINE_CHANNEL_SECRET=YOUR_CHANNEL_SECRET
9
+$ export LINE_CHANNEL_TOKEN=YOUR_CHANNEL_ACCESS_TOKEN
10
+$ bundle install
11
+$ bundle exec ruby app.rb
12
+```
13
14
15
+https://your.base.url:4567/callback
16
0 commit comments