line-bot-api 1.4.1 → 1.5.1

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
2
  SHA256:
3
- metadata.gz: fdeb25511474096b3db7b3e30849c770c6d9e0c6572dbae22ff7498628c9c943
4
- data.tar.gz: 3ed5a5972109c49a4823db5f8a510097346df524704f8d114208debf26678885
3
+ metadata.gz: 4e092d32113b5b56c027829c1b43766331a83331a9732c49da68b6abe8475592
4
+ data.tar.gz: 3b6d68a19d1884f5d4b899cb433d783b6a1bfc808d5a77a90d0e6fd18893fc20
5
5
  SHA512:
6
- metadata.gz: 005f210de9792e17b0690710edaa8ec485558cf776715133e031ef2b71601641ff933fb6ced50bc33d24b641c13c3671dedb54060ff6ed562ae2339438ce6f91
7
- data.tar.gz: 7009717dbb0a687a1fceb6a3fe749851267c34012a340e74cfc0a8ead9b94f6b773b54945eaeb13fe1f574620cd7dc7318712e61f08275be7c64bb865ef0b933
6
+ metadata.gz: ab1a90613104945ee7ebba37310e9646c90b3bbb73f849e9a2d034aba93a9f1c77563f67321eb79823a71d2f85c3acde424512b964f01f60d7889b737129320a
7
+ data.tar.gz: f0b7fb88773d85881e9afc6f7eac1e4a9e7bf6f39e9d1e3b5276d271a7f27577986328277f876a74c1af7377a3e2d73200c1169f4c4b714140938c6cc4c7e71e
@@ -15,7 +15,7 @@
15
15
  module Line
16
16
  module Bot
17
17
  module API
18
- VERSION = "1.4.1"
18
+ VERSION = "1.5.1"
19
19
  end
20
20
  end
21
21
  end
@@ -243,6 +243,36 @@ module Line
243
243
  get(endpoint_path)
244
244
  end
245
245
 
246
+ # Gets the number of messages sent with the /bot/message/reply endpoint.
247
+ #
248
+ # @param date [String] Date the messages were sent (format: yyyyMMdd)
249
+ #
250
+ # @return [Net::HTTPResponse]
251
+ def get_message_delivery_reply(date)
252
+ endpoint_path = "/bot/message/delivery/reply?date=#{date}"
253
+ get(endpoint_path)
254
+ end
255
+
256
+ # Gets the number of messages sent with the /bot/message/push endpoint.
257
+ #
258
+ # @param date [String] Date the messages were sent (format: yyyyMMdd)
259
+ #
260
+ # @return [Net::HTTPResponse]
261
+ def get_message_delivery_push(date)
262
+ endpoint_path = "/bot/message/delivery/push?date=#{date}"
263
+ get(endpoint_path)
264
+ end
265
+
266
+ # Gets the number of messages sent with the /bot/message/multicast endpoint.
267
+ #
268
+ # @param date [String] Date the messages were sent (format: yyyyMMdd)
269
+ #
270
+ # @return [Net::HTTPResponse]
271
+ def get_message_delivery_multicast(date)
272
+ endpoint_path = "/bot/message/delivery/multicast?date=#{date}"
273
+ get(endpoint_path)
274
+ end
275
+
246
276
  # Create a rich menu
247
277
  #
248
278
  # @param rich_menu [Hash] The rich menu represented as a rich menu object
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.4.1
4
+ version: 1.5.1
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-01-21 00:00:00.000000000 Z
11
+ date: 2019-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable