wolf_core 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/infrastructure/http_operations.rb +4 -4
- data/lib/wolf_core/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: 713728dd5e1dcb51f570691d0c6db147a43aa3ca51641b8a4ae041c34f3a2444
|
4
|
+
data.tar.gz: f2633bf41157b9e4f4003bac49bf49e1a1ce9c6a40f5551ec0974702733bf396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e0dbf1afad256967de638b6b680ede71cf3c98fb7424bfa73915dd5843c94764b7c5a19f240d7821283c2de2e6c4a4c84233212c8f91a4db9abb8e65095109
|
7
|
+
data.tar.gz: 65097203aeda8d2f63ca98b3ab74141e325fe11364dfa9eece70cb9850a69783d56ba17f076ad177adc2cd94d1dcdc8c96c9910d6fa1fcdd4ae4bf2e55397f51
|
@@ -34,8 +34,8 @@ module WolfCore
|
|
34
34
|
WolfCore::HttpDataSource.http_get(url: url, headers: headers, query: query)
|
35
35
|
end
|
36
36
|
|
37
|
-
def parsed_http_post(url:, headers: {}, query: nil)
|
38
|
-
response = http_post(url: url, headers: headers, query: query)
|
37
|
+
def parsed_http_post(url:, body:, headers: {}, query: nil)
|
38
|
+
response = http_post(url: url, headers: headers, query: query, body: body)
|
39
39
|
parse_http_response(response)
|
40
40
|
end
|
41
41
|
|
@@ -65,8 +65,8 @@ module WolfCore
|
|
65
65
|
WolfCore::HttpDataSource.http_post(url: url, headers: headers, query: query, body: body)
|
66
66
|
end
|
67
67
|
|
68
|
-
def parsed_http_put(url:, headers: {}, query: nil)
|
69
|
-
response = http_put(url: url, headers: headers, query: query)
|
68
|
+
def parsed_http_put(url:, body:, headers: {}, query: nil)
|
69
|
+
response = http_put(url: url, headers: headers, query: query, body: body)
|
70
70
|
parse_http_response(response)
|
71
71
|
end
|
72
72
|
|
data/lib/wolf_core/version.rb
CHANGED