qismo 0.8.5 → 0.8.6

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: 0b7781b2ccc4ec1815ecb3cedd90a61ded7c84e0d564174a720dc7a7b7673528
4
- data.tar.gz: a6225b1ab73d4239c64374b5efead47d4a7aa34580766ef302450e18b05618ea
3
+ metadata.gz: 39920707bba81e3df5853731180b02e10d694a4cbf793c6f64c7bfe169a6a9c2
4
+ data.tar.gz: 4871ab5d1557e8ccd6c249354b4117da16779b5ecdcafb906641597a8ca39358
5
5
  SHA512:
6
- metadata.gz: b1766a77c3872a482f269ca69aedeb3c6c0384f2789732aef8dfeed670c74063ee24e7c36f53740160eb92379e37134c92a2b7b78c1061b32a467c31347151b3
7
- data.tar.gz: 12a8cdd291ede239d2749f719367837acfa269e8b4ad5b25536e19d174687f0fc9157e6fce5e03dffd6c58b1cbbc7e636b6ab4284c6958d8040302ed4c0fa87f
6
+ metadata.gz: 448f4ba83da3cc5adefebe4b893b1372f2b43e582fa7b3ee8cd6d1d4f8ff2e07fc43a0a27de438c80b30a2dc7f65e2e7af718ad61757c33111b22ff88d5c4af4
7
+ data.tar.gz: 824b127bfbaad9e0f380f1765011cd76b626e7a957aa52a3845a25789a68860d23af2de435b3a543dab9428be052ffc49ada6710e088d30c6a6e998a774bf641
data/lib/qismo/api.rb CHANGED
@@ -259,7 +259,8 @@ module Qismo
259
259
  end
260
260
 
261
261
  def initiate_widget_chat(user_id, name, **opt)
262
- post("/api/v2/qiscus/initiate_chat", opt.merge(user_id: user_id, name: name)).data.customer_room
262
+ opt = opt.merge(app_id: app_id, user_id: user_id, name: name)
263
+ post("/api/v2/qiscus/initiate_chat", opt).data.customer_room
263
264
  end
264
265
 
265
266
  def send_message_to_custom_channel(identifier_key, user_id, name, **opt)
data/lib/qismo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Qismo
4
- VERSION = "0.8.5"
4
+ VERSION = "0.8.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qismo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qiscus Integration