sirportly 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,9 +47,9 @@ module Sirportly
47
47
 
48
48
  http_result = http.request(http_request)
49
49
 
50
- if @output == 'true'
50
+ if http_result.body == 'true'
51
51
  @output = true
52
- elsif @output == 'false'
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
@@ -27,7 +27,7 @@ require 'sirportly/data_objects/ticket_update'
27
27
  require 'sirportly/data_objects/user'
28
28
 
29
29
  module Sirportly
30
- VERSION = '1.2.5'
30
+ VERSION = '1.2.6'
31
31
 
32
32
  class << self
33
33
 
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.2.5
4
+ version: 1.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: