sirportly 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ require 'sirportly/data_objects/ticket_update'
31
31
  require 'sirportly/data_objects/user'
32
32
 
33
33
  module Sirportly
34
- VERSION = '1.3.1'
34
+ VERSION = '1.3.2'
35
35
 
36
36
  class << self
37
37
 
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sirportly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: