wolf_core 1.0.2 → 1.0.3
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 +2 -2
- 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: 467718ebaa55cd285ad3ad48f6fe81f5761babc4fc57b572a0ef3b0ed4a2d1d3
|
4
|
+
data.tar.gz: 919e616942a92e41fca97a5a1c691d981ef1828854bae48884f6a5ac92953170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8bec56f698622cec3d3762a54c068c036441c7246d809f061035da2f6ad56c3e4d7c374beb53b888d3dd5a01d0181c996f4b2ed880e4c0bce1e91b7ab7ddc4
|
7
|
+
data.tar.gz: 510ebc0e39ad8be34b13a204e0110496967dd5b6bebf9eeed4a85f38b49e059c32929b8fe008eddbe50810daed232607506ba2b190dcf1f28031ad9b4578cfbe
|
@@ -34,7 +34,7 @@ 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:, body
|
37
|
+
def parsed_http_post(url:, body: nil, headers: {}, query: nil)
|
38
38
|
response = http_post(url: url, headers: headers, query: query, body: body)
|
39
39
|
parse_http_response(response)
|
40
40
|
end
|
@@ -65,7 +65,7 @@ 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:, body
|
68
|
+
def parsed_http_put(url:, body: nil, headers: {}, query: nil)
|
69
69
|
response = http_put(url: url, headers: headers, query: query, body: body)
|
70
70
|
parse_http_response(response)
|
71
71
|
end
|
data/lib/wolf_core/version.rb
CHANGED