multiwoven-integrations 0.15.2 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e55a5a02e62950e366a99127c0531d994ba547895a09641d06f77df462b7f3
|
4
|
+
data.tar.gz: 0d7194c4d0b7f823607acd0f8e5ace01b381090707811599e126941b2de8404a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144ac424ba8610d81af8f4e6e2b9fb7393960557db4ed89f7a2405c9b6649bd114a160e477d8e803fb774654b21e083bdf4f6b5fa65b79cfc21c3da7857c5542
|
7
|
+
data.tar.gz: bfa1840c3d5beffd213b7de986d21e97365a621b8e6839aa0dfec32fcd316201a6da30f9a4fe4ae03bb810371f439420b9000d6e18e02cdd12edb2396bb1468d
|
@@ -10,8 +10,11 @@ module Multiwoven
|
|
10
10
|
http.use_ssl = (uri.scheme == "https")
|
11
11
|
|
12
12
|
# Set timeout if provided
|
13
|
-
|
14
|
-
|
13
|
+
if config[:timeout]
|
14
|
+
timeout_value = config[:timeout].to_f
|
15
|
+
http.open_timeout = timeout_value
|
16
|
+
http.read_timeout = timeout_value
|
17
|
+
end
|
15
18
|
|
16
19
|
request = build_request(method, uri, payload, headers)
|
17
20
|
http.request(request)
|