xstreamly 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xstreamly.rb +1 -1
- metadata +3 -3
data/lib/xstreamly.rb
CHANGED
@@ -34,7 +34,7 @@ module XStreamly
|
|
34
34
|
req = Net::HTTP::Post.new(URI.encode('/api/v1.1/'+@appKey+'/feeds/out/custom'), initheader = {'Content-Type' =>'application/json'})
|
35
35
|
req.basic_auth @email, @password
|
36
36
|
|
37
|
-
req.body = '{"channel":"'+channel+'","endpoint":"'+endPoint+'", "secret":"'+secret+'"}'
|
37
|
+
req.body = '{"channel":"'+channel+'","endpoint":"'+endPoint+'", "secret":"'+secret+'", "event": "'+eventName+'"}'
|
38
38
|
response = @http.request(req)
|
39
39
|
|
40
40
|
case response.code.to_i
|
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 5
|
10
|
+
version: 0.6.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Willard
|