sirportly 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sirportly/request.rb +2 -2
- data/lib/sirportly.rb +1 -1
- metadata +1 -1
data/lib/sirportly/request.rb
CHANGED
@@ -47,9 +47,9 @@ module Sirportly
|
|
47
47
|
|
48
48
|
http_result = http.request(http_request)
|
49
49
|
|
50
|
-
if
|
50
|
+
if http_result.body == 'true'
|
51
51
|
@output = true
|
52
|
-
elsif
|
52
|
+
elsif http_result.body == 'false'
|
53
53
|
@output = false
|
54
54
|
else
|
55
55
|
@output = JSON.parse(http_result.body)
|
data/lib/sirportly.rb
CHANGED