line-bot-api 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/line/bot/api/version.rb +1 -1
- data/lib/line/bot/client.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5ff487539b4384e2c325a80f109073e9abcf7182
|
4
|
+
data.tar.gz: fc9b3c3ad25ac10db2fb2aa5d92cdcdd54cd2085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a227dc053d1504b0defa1d6dc71f063fc946b0d9ce9c325467eef56bc896a8296f5ee41a49350f69be85fada574d031138f50edf9c64263be174ae0fd52f033b
|
7
|
+
data.tar.gz: 3e4dcff37b45783236b0ec774dd5df85674385ca4c79ffafb9bed8927399826306b03f5e843fb6e2a44049a4377dc3d00693b310ea97e6ce5e74bd7dc83afa22
|
data/lib/line/bot/api/version.rb
CHANGED
data/lib/line/bot/client.rb
CHANGED
@@ -310,6 +310,14 @@ module Line
|
|
310
310
|
get(endpoint_path)
|
311
311
|
end
|
312
312
|
|
313
|
+
# Get default rich menu
|
314
|
+
#
|
315
|
+
# @return [Net::HTTPResponse]
|
316
|
+
def get_default_rich_menu
|
317
|
+
endpoint_path = '/bot/user/all/richmenu'
|
318
|
+
get(endpoint_path)
|
319
|
+
end
|
320
|
+
|
313
321
|
# Set default rich menu (Link a rich menu to all user)
|
314
322
|
#
|
315
323
|
# @param rich_menu_id [String] ID of an uploaded rich menu
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line-bot-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LINE Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
118
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.5.2
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: SDK of the LINE Messaging API
|