qismo 0.11.1 → 0.11.3

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: b73024f4c815c21256b3012449f511b2878d33a47a7e1c2ef3eb33bb452696ee
4
- data.tar.gz: ecdd9b38f3d9f4c2b3015089607aead4128e9d1a14fbe8f3a721252361f011aa
3
+ metadata.gz: c44bc17e88bfb4ef598a081ce7f34d7cbfbdfcfd0aaaf10cc8c0a9b1578214e0
4
+ data.tar.gz: fd64a064ac0445c67849176ea4f25b1816752c23b3bbb46f99bfc270ba93dee9
5
5
  SHA512:
6
- metadata.gz: '08efe305bc37790d1b91964dd3beb29226b25f7d8f071423a89d84571adf160471d2af5ab012c7e6323bc055183741be198d264a0575a0f8ed2a65b9d7d05351'
7
- data.tar.gz: 4541a245aa4d783cf5f1a1a760f497cba47f731e22b62056d2be660b8096fad531db470829a82b822fdc2fca9b009ed4b2df585730b9b0fe32c749352266ae5e
6
+ metadata.gz: 0ef2a041c385d0923b33ec54cd76dbb9f36e2fd68c8d643cadc1532736a3c9576c31393ac69e9e67c101d431ddeac6dd180939af6d6eea47cc0458f1efd9552b
7
+ data.tar.gz: dcc8360d7eba0be58033dbe181df4b11fb525bb16099d5b32310f63150acf447a1ff456fd343def01aef578b2d38286f301da0fb521fa42553d3e062617c0b6b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qismo (0.11.1)
4
+ qismo (0.11.3)
5
5
  activesupport
6
6
  http
7
7
 
@@ -45,7 +45,7 @@ GEM
45
45
  parser (3.1.2.1)
46
46
  ast (~> 2.4.1)
47
47
  prettier_print (1.1.0)
48
- public_suffix (5.0.0)
48
+ public_suffix (5.0.1)
49
49
  rainbow (3.1.1)
50
50
  rake (13.0.6)
51
51
  regexp_parser (2.6.0)
data/lib/qismo/api.rb CHANGED
@@ -253,10 +253,11 @@ module Qismo
253
253
  # Set auth webhook
254
254
  #
255
255
  # @param url [String]
256
+ # @param enabled [TrueClass, FalseClass]
256
257
  # @param options [Hash]
257
258
  # @return [Qismo::SingleObject]
258
- def set_auth_webhook(url, options = {})
259
- post("/api/v2/app/config/auth_webhook", options.merge(url: url)).data.configs
259
+ def set_auth_webhook(url, enabled = true, options = {})
260
+ post("/api/v2/app/config/auth_webhook", options.merge(url: url, enabled: enabled)).data.configs
260
261
  end
261
262
 
262
263
  # Get resolve webhook config
data/lib/qismo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Qismo
4
4
  # @return [String]
5
- VERSION = "0.11.1"
5
+ VERSION = "0.11.3"
6
6
  end
data/lib/qismo.rb CHANGED
@@ -38,7 +38,7 @@ module Qismo
38
38
  def method_missing(method, *args, &block)
39
39
  return super unless client.respond_to?(method)
40
40
 
41
- client.send(method * args, &block)
41
+ client.send(method, *args, &block)
42
42
  end
43
43
 
44
44
  def respond_to?(method_name, include_private = false)
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.11.1
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qiscus Integration