ibm_cloud_sdk_core 1.0.0.rc5 → 1.0.0.rc6
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: 70da4a1a326ce6a6da58f9ffef52092c095948ccf16a22006e37d5f74f026cdd
|
4
|
+
data.tar.gz: 526ecd788ffbf7f886b039963095ed727de88dd75908246d1cb4285002b530d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a774cf1a504eb675526ce47fed47d7cdd8b83d7e7c97cead03eba2c2814b60544a22e48057d27d7ef262ee5b68560f2e288af291a689f4dd465bf0e5c753146
|
7
|
+
data.tar.gz: 0bd9c9505ff3016479562257419e525f13e1e6c26e5d2737b228d9f07f5642b9e5c90d3b79c3b619cb57a423b362c541cfbc8fdde91b9e7a2b95248335c76dd6
|
@@ -13,7 +13,7 @@ module IBMCloudSdkCore
|
|
13
13
|
@error = response.reason
|
14
14
|
unless response.body.empty?
|
15
15
|
body_hash = JSON.parse(response.body.to_s)
|
16
|
-
error_message = body_hash["errors"] && body_hash["errors"][0] ? body_hash["errors"][0]
|
16
|
+
error_message = body_hash["errors"] && body_hash["errors"][0] ? body_hash["errors"][0]["message"] : nil
|
17
17
|
@code = body_hash["code"] || body_hash["error_code"] || body_hash["status"]
|
18
18
|
@error = error_message || body_hash["error"] || body_hash["message"] || body_hash["errorMessage"]
|
19
19
|
%w[code error_code status errors error message].each { |k| body_hash.delete(k) }
|
@@ -108,7 +108,7 @@ module IBMCloudSdkCore
|
|
108
108
|
|
109
109
|
raise ApiException.new(response: response)
|
110
110
|
rescue OpenSSL::SSL::SSLError
|
111
|
-
raise StandardError.new("
|
111
|
+
raise StandardError.new("The connection failed because the SSL certificate is not valid. To use a self-signed certificate, set the disable_ssl_verification parameter in configure_http_client.")
|
112
112
|
end
|
113
113
|
|
114
114
|
# @note Chainable
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_cloud_sdk_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mamoon Raja
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|