wazuh-rb 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wazuh/connection.rb +1 -4
- data/lib/wazuh/version.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: 7d8adf0ce0c8643e5bc288e21cebfe71f479d69c2efd022bd0b388546883586d
|
4
|
+
data.tar.gz: 1c0d70c5caa867df584a0dea4baf362a62e62fc7fe2fa0b47c1a67e5f26804f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5600311d7cc03fd42455b7260380c1cc4bb792ce51326d8a611cf9c2bdf4923a402326e48879949b5c50268db8e73ac325b91e5b39de59e5e8edd9f0c7efe8
|
7
|
+
data.tar.gz: c6266e1db7b38743d48539793d383578c273777bbd2b447e5421f973445589bdd89d0726d658e0196066c8740a5b4629619abfe1ede7ac281687e1d3f16fb04c
|
data/lib/wazuh/connection.rb
CHANGED
@@ -23,10 +23,7 @@ module Wazuh
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def delete(url, params = {})
|
26
|
-
connection.delete(url)
|
27
|
-
req.headers['Content-Type'] = 'application/json'
|
28
|
-
req.body = params.to_json
|
29
|
-
end
|
26
|
+
connection.delete(url, params)
|
30
27
|
end
|
31
28
|
|
32
29
|
def request(method, url, params = {})
|
data/lib/wazuh/version.rb
CHANGED