fastbound-ruby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbound-ruby/api.rb +4 -4
- data/lib/fastbound-ruby/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: 50df0cbbde2a5bddc6bf840dca3ea5e3427b513cde3a4536676b801916615246
|
4
|
+
data.tar.gz: 72d930597d1867d1583d7e7b80b3f6c273184c1966421aa2814b9cbb9421b850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e08924d1543b95a0a28926160dee348fd9468c18563dd53ff9aa6bcd6298501108b8db5c38aeadf21e8adb7d32967e3dbbfb68e62bb1fd53ed008049ab7132
|
7
|
+
data.tar.gz: 9cfd6874dd9de4964031202086c9ec857402056544e365de6eddccb2b29b22c6166214ec7bd83effb4e88ba7047d341c99d386f0b5a4646e1eebb915559a644d
|
data/lib/fastbound-ruby/api.rb
CHANGED
@@ -62,11 +62,11 @@ module FastBound
|
|
62
62
|
|
63
63
|
def process_request(request)
|
64
64
|
uri = URI(request.path)
|
65
|
+
http = Net::HTTP.new(uri.host, uri.port, use_ssl: true)
|
65
66
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
end
|
67
|
+
http.set_debug_output($stdout) if FastBound.config.full_debug?
|
68
|
+
|
69
|
+
response = http.start { |_http| _http.request(request) }
|
70
70
|
|
71
71
|
FastBound::Response.new(response)
|
72
72
|
end
|