xstreamly 0.6.3 → 0.6.4

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.
Files changed (2) hide show
  1. data/lib/xstreamly.rb +2 -5
  2. metadata +3 -3
data/lib/xstreamly.rb CHANGED
@@ -39,7 +39,7 @@ module XStreamly
39
39
 
40
40
  case response.code.to_i
41
41
  when 200..299
42
- return true
42
+ return response.body
43
43
  else
44
44
  raise RuntimeError, "Unknown error (status code #{response.code} ): #{response.body}"
45
45
  end
@@ -80,7 +80,7 @@ module XStreamly
80
80
 
81
81
  case response.code.to_i
82
82
  when 200..299
83
- return true
83
+ return response.body
84
84
  else
85
85
  raise RuntimeError, "Unknown error (status code #{response.code} ): #{response.body}"
86
86
  end
@@ -144,6 +144,3 @@ module XStreamly
144
144
 
145
145
  end
146
146
  end
147
-
148
- client = XStreamly::Client.new('10bc1643-c9f5-4210-9814-cae3203af316','bwillard@x-stream.ly','dcba4321');
149
- client.setCallback('frank','http://127.0.0.1:3002','secret','event');
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xstreamly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Willard