sirportly 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sirportly.rb +1 -1
- data/lib/sirportly/request.rb +1 -1
- metadata +1 -1
data/lib/sirportly.rb
CHANGED
data/lib/sirportly/request.rb
CHANGED
@@ -49,7 +49,7 @@ module Sirportly
|
|
49
49
|
@output = true
|
50
50
|
elsif http_result.body == 'false'
|
51
51
|
@output = false
|
52
|
-
elsif !http_result.body.is_a?(Hash)
|
52
|
+
elsif !http_result.body.is_a?(Hash) && !http_result.body.is_a?(Array)
|
53
53
|
@output = http_result.body
|
54
54
|
else
|
55
55
|
@output = JSON.parse(http_result.body)
|