allscripts_unity_client 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -100,7 +100,7 @@ module AllscriptsUnityClient
|
|
100
100
|
def raise_if_response_error(response)
|
101
101
|
if response.nil?
|
102
102
|
raise APIError, "Response was empty"
|
103
|
-
elsif response.is_a?(Array) && !response[0]["Error"].nil?
|
103
|
+
elsif response.is_a?(Array) && !response[0].nil? && !response[0]["Error"].nil?
|
104
104
|
raise APIError, response[0]["Error"]
|
105
105
|
elsif response.is_a?(String) && response.include?("error:")
|
106
106
|
raise APIError, response
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_unity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-12-
|
13
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: savon
|