oeh-client 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/oehclient/version.rb +1 -1
- data/lib/oehclient.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01c32b8dcaf05f1e259f75161ec54c684fc43f80
|
4
|
+
data.tar.gz: 560c763be9ae26a011bcc6e2cf26090423828757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0881f9aea5583141ac755859652f1a771bf0cd85e61050055f3c6f22bfdfcc2d1c66afee0cb8afb1ea222d263887dc617a3e95780f4905db0c2c9ef870da2ae0
|
7
|
+
data.tar.gz: b9d4df25095b8b96726be0af9414276d4f6c5e6dab5d5533a17e7d6785b2f159d04ddf66ca51bfe001dc77c11a895814e11d81fba00dd5a79fb808898d179805
|
data/lib/oehclient/version.rb
CHANGED
data/lib/oehclient.rb
CHANGED
@@ -54,7 +54,7 @@ module OEHClient
|
|
54
54
|
header = (options.has_key?(:header) ? options[:header] : OEHClient::Helper::Request.default_JSON_header())
|
55
55
|
# merge parameters into the header if they are passed
|
56
56
|
header.merge!(:params => options[:params] ) if (options.has_key?(:params))
|
57
|
-
puts("URL: #{url} ; Header: #{header}")
|
57
|
+
#puts("URL: #{url} ; Header: #{header}")
|
58
58
|
# send the GET request, manage the returned response, and return the body of the response to the
|
59
59
|
# calling method
|
60
60
|
RestClient::Request.execute(method: :get, url: url, headers: header, verify_ssl: OpenSSL::SSL::VERIFY_NONE) { | response, request, result | OEHClient::Helper::Response.handle(response)}
|