dynect_rest 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynect_rest.rb +2 -1
- data/lib/dynect_rest/gslb.rb +1 -1
- data/lib/dynect_rest/version.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: c76956f031fe416df31adcce7120046bbefa4b10
|
4
|
+
data.tar.gz: bbdf0916a72c70bbfedb50da70efd6feb4885ae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc798756194e6075342898da64d201ca908845f0bdc79e623f7926c51e4a2486cec07081ebd7f6e163b42de7f866ac0df228a4573a95d92547fd8bb879479eb7
|
7
|
+
data.tar.gz: 11f189851af46c068d0aff5a15131ae5d29ccdeab1e29e6a655e785a7c7787fbff02f05aaa0725a79fcd8c39694ba1bf60ea0eb24fd6473180855ff68cdc60b5
|
data/lib/dynect_rest.rb
CHANGED
@@ -229,7 +229,8 @@ class DynectRest
|
|
229
229
|
e.response.sub!(/^\/REST\//,'')
|
230
230
|
get(e.response)
|
231
231
|
end
|
232
|
-
|
232
|
+
# Something went wrong, so escalate to caller
|
233
|
+
raise DynectRest::Exceptions::RequestFailed, "Request failed: #{e.inspect}"
|
233
234
|
end
|
234
235
|
|
235
236
|
parse_response(JSON.parse(response_body || '{}'))
|
data/lib/dynect_rest/gslb.rb
CHANGED
data/lib/dynect_rest/version.rb
CHANGED