line-bot-api 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 4e092d32113b5b56c027829c1b43766331a83331a9732c49da68b6abe8475592
4
- data.tar.gz: 3b6d68a19d1884f5d4b899cb433d783b6a1bfc808d5a77a90d0e6fd18893fc20
2
+ SHA1:
3
+ metadata.gz: 5ff487539b4384e2c325a80f109073e9abcf7182
4
+ data.tar.gz: fc9b3c3ad25ac10db2fb2aa5d92cdcdd54cd2085
5
5
  SHA512:
6
- metadata.gz: ab1a90613104945ee7ebba37310e9646c90b3bbb73f849e9a2d034aba93a9f1c77563f67321eb79823a71d2f85c3acde424512b964f01f60d7889b737129320a
7
- data.tar.gz: f0b7fb88773d85881e9afc6f7eac1e4a9e7bf6f39e9d1e3b5276d271a7f27577986328277f876a74c1af7377a3e2d73200c1169f4c4b714140938c6cc4c7e71e
6
+ metadata.gz: a227dc053d1504b0defa1d6dc71f063fc946b0d9ce9c325467eef56bc896a8296f5ee41a49350f69be85fada574d031138f50edf9c64263be174ae0fd52f033b
7
+ data.tar.gz: 3e4dcff37b45783236b0ec774dd5df85674385ca4c79ffafb9bed8927399826306b03f5e843fb6e2a44049a4377dc3d00693b310ea97e6ce5e74bd7dc83afa22
@@ -15,7 +15,7 @@
15
15
  module Line
16
16
  module Bot
17
17
  module API
18
- VERSION = "1.5.1"
18
+ VERSION = "1.5.2"
19
19
  end
20
20
  end
21
21
  end
@@ -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.1
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-05 00:00:00.000000000 Z
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.7.6
119
+ rubygems_version: 2.5.2
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: SDK of the LINE Messaging API