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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/qismo/api.rb +3 -2
- data/lib/qismo/version.rb +1 -1
- data/lib/qismo.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c44bc17e88bfb4ef598a081ce7f34d7cbfbdfcfd0aaaf10cc8c0a9b1578214e0
|
4
|
+
data.tar.gz: fd64a064ac0445c67849176ea4f25b1816752c23b3bbb46f99bfc270ba93dee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
data/lib/qismo.rb
CHANGED