qismo 0.11.2 → 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: a6ad32a3cd6a3333934113d2fa2bf8cc0f53cf07c805f57a4b1f1b53eacebb74
4
- data.tar.gz: a6ecbc183426799bfbf17aba3b8242960d93c740ca5ea071ccb823d9a9bc8d5f
3
+ metadata.gz: c44bc17e88bfb4ef598a081ce7f34d7cbfbdfcfd0aaaf10cc8c0a9b1578214e0
4
+ data.tar.gz: fd64a064ac0445c67849176ea4f25b1816752c23b3bbb46f99bfc270ba93dee9
5
5
  SHA512:
6
- metadata.gz: 46f48ede2c4062f54bb3d171942f2f38480aa647ffc9a209116a00e823e3497e78f54b967df491267d40cba487cd926f470110fa9b9d4ab64f585f480c343c94
7
- data.tar.gz: 5814925429d36da9ef3952b46229f1409fa91268fe45bbc7dc4e04f0a5503b5de96415865f7570df36ce5934a401c2a206fc23cddeb002b62b06b28692418fe4
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.2)
4
+ qismo (0.11.3)
5
5
  activesupport
6
6
  http
7
7
 
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.2"
5
+ VERSION = "0.11.3"
6
6
  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.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qiscus Integration