qismo 0.17.0 → 0.17.2

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: 839479fdf1dde24ea0060354811fcee3c9af9127ffda69427a6d773efe03eadd
4
- data.tar.gz: 52ff364cec208e9a3471fc3d4fa849bb2dcd537170b363b66ccd099e7bda5d23
3
+ metadata.gz: 541d1d3a2f20f23eed6c39bc8a89583c0973c7b6610a0295c3d44b8bdbb061bf
4
+ data.tar.gz: 8d870b20270b7f44ab305616f33059a9dc1028dbeff93bf778a059ed9de1bafc
5
5
  SHA512:
6
- metadata.gz: dccf2df09f8b6d112805896b691a0c1d600c192d54ee5572f096f2548b06dae8a0977157e858456cbf47e54fc37c44107157b5463069a1f581963a89f8e17361
7
- data.tar.gz: 692126abda4e83edfb2f7fadd94155f1e688e0ba73cc40408b4bb48c331e0a6a3783e1f3dd330373a195baf0e4bf6f4f09251b39f2737eb64187cc85ecb5f08d
6
+ metadata.gz: 0c52a1b746e1338cfbb242904cdf68b0da94196f0e43a3540e3d12c855cd4fdff0091409e0ce8723b99cc8bc3dd071a998ded2267a54f78d545b687fb8418d81
7
+ data.tar.gz: 8a118a0a6d342f8f61115c842de2a50139e22fa62dee18add2cd8150e2c38b91c5051c379300270a7f1704c78ef579f81fc67f06ef25b0ba69f1d890d4173fb7
data/lib/qismo/api.rb CHANGED
@@ -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).data
88
+ post("/api/v2/room_tags/#{room_id}", tag_name: tag_name).data
89
89
  )
90
90
  end
91
91
 
@@ -23,11 +23,11 @@ module Qismo
23
23
 
24
24
  # @!attribute [r] is_resolved
25
25
  # @return [String]
26
- attribute? :is_resolved, Types::Bool
26
+ attribute? :is_resolved, Types::Bool.optional
27
27
 
28
28
  # @!attribute [r] is_waiting
29
29
  # @return [TrueClass,FalseClass]
30
- attribute? :is_waiting, Types::Bool
30
+ attribute? :is_waiting, Types::Bool.optional
31
31
 
32
32
  # @!attribute [r] last_comment_sender
33
33
  # @return [String]
data/lib/qismo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Qismo
4
4
  # @return [String]
5
- VERSION = "0.17.0"
5
+ VERSION = "0.17.2"
6
6
  end
@@ -171,10 +171,10 @@ module Qismo
171
171
  attribute? :channel_id, Types::Int
172
172
  attribute? :created_at, Types::String
173
173
  attribute? :extras, Extras
174
- attribute? :has_no_message, Types::Bool
174
+ attribute? :has_no_message, Types::Bool.optional
175
175
  attribute? :is_waiting, Types::Nil
176
176
  attribute? :name, Types::String
177
- attribute? :resolved, Types::Bool
177
+ attribute? :resolved, Types::Bool.optional
178
178
  attribute? :room_badge, Types::String
179
179
  attribute? :room_id, Types::String
180
180
  attribute? :source, Types::String
@@ -182,7 +182,7 @@ module Qismo
182
182
  attribute? :user_id, Types::String
183
183
  end
184
184
 
185
- attribute? :is_new_session, Types::Bool
185
+ attribute? :is_new_session, Types::Bool.optional
186
186
  attribute? :payload, Payload
187
187
  attribute? :room_log, RoomLog
188
188
  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.0
4
+ version: 0.17.2
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-16 00:00:00.000000000 Z
11
+ date: 2022-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport