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 +4 -4
- data/lib/qismo/api.rb +2 -2
- data/lib/qismo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a1f3d54408a3ec4ac13282946090480b5e684537d8c37e8deca21ee37dab51
|
4
|
+
data.tar.gz: c5c9c893cb57b4b33f17fa384b24947888a26335418ee6b1841fcbd74ca5af2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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",
|
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}",
|
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
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.
|
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-
|
11
|
+
date: 2022-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|