qismo 0.17.2 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 541d1d3a2f20f23eed6c39bc8a89583c0973c7b6610a0295c3d44b8bdbb061bf
4
- data.tar.gz: 8d870b20270b7f44ab305616f33059a9dc1028dbeff93bf778a059ed9de1bafc
3
+ metadata.gz: 32a1f3d54408a3ec4ac13282946090480b5e684537d8c37e8deca21ee37dab51
4
+ data.tar.gz: c5c9c893cb57b4b33f17fa384b24947888a26335418ee6b1841fcbd74ca5af2b
5
5
  SHA512:
6
- metadata.gz: 0c52a1b746e1338cfbb242904cdf68b0da94196f0e43a3540e3d12c855cd4fdff0091409e0ce8723b99cc8bc3dd071a998ded2267a54f78d545b687fb8418d81
7
- data.tar.gz: 8a118a0a6d342f8f61115c842de2a50139e22fa62dee18add2cd8150e2c38b91c5051c379300270a7f1704c78ef579f81fc67f06ef25b0ba69f1d890d4173fb7
6
+ metadata.gz: 6ae312acbe3a8805c115e4656e8f1d1385ec0ed891ee8637fa92ee625e0a765536d13f2409af429064f3ddd8b8f48dc7ab063ccde014daf5255dca0128340fe5
7
+ data.tar.gz: 9be35658b3ef3804a70ec74c67c4f99a1582a4e956fd1e9497e694fdf585c121879b79d0a8a586af8241a6b5fe84308ebbc2b7102daad8556879072db2fd6c78
data/lib/qismo/api.rb CHANGED
@@ -31,7 +31,7 @@ module Qismo
31
31
  # Previous page cursor. If you are on first page, the cursor returned will be nil
32
32
  # @return [Qismo::Collection<Qismo::CustomerRoom>]
33
33
  def rooms(channels: nil, status: nil, serve_status: nil, name: nil, limit: 50, tag_ids: nil, agent_ids: nil, order: "desc", cursor_after: nil, cursor_before: nil)
34
- body = post("/api/v2/customer_rooms", json: {
34
+ body = post("/api/v2/customer_rooms", {
35
35
  channels: channels,
36
36
  status: status,
37
37
  serve_status: serve_status,
@@ -85,7 +85,7 @@ module Qismo
85
85
  # @return [Qismo::Objects::Tag]
86
86
  def add_room_tag(room_id:, tag_name:)
87
87
  Qismo::Objects::Tag.new(
88
- post("/api/v2/room_tags/#{room_id}", tag_name: tag_name).data
88
+ post("/api/v2/room_tags/#{room_id}", tag: tag_name).data
89
89
  )
90
90
  end
91
91
 
data/lib/qismo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Qismo
4
4
  # @return [String]
5
- VERSION = "0.17.2"
5
+ VERSION = "0.17.4"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qismo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qiscus Integration
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-20 00:00:00.000000000 Z
11
+ date: 2022-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport