Ziggeo 1.14 → 1.15

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b6135192c868dc2e070b50631d95f64aee06f67
4
- data.tar.gz: 010ebf62bb33a4433284ef8e41ad7d3e4379a549
3
+ metadata.gz: 7c24a8a8b298521892c34a16986009d04fe70715
4
+ data.tar.gz: 06ccd77a9d10738e9d1df23429acd2caba35a211
5
5
  SHA512:
6
- metadata.gz: 6b7429a9a331a481a32c6066a45f280b2770574ee1c9de13ad086c57212df1f84026008eb816fd61550016c67fafc99e005b0a4992e4f049e4ade1052cbd0819
7
- data.tar.gz: 1fe70933dbb34af8f28f0d3e0e21be56f21c0b6f5f9183a39406dfabae82742b244b4fc96c45572ff1b5486b7c7875ceecdb42e42e341fa379468bbe7ce6da4e
6
+ metadata.gz: 7001e5455e4c0c9681cdbb13779c1e0e0f12e0e583410543f08bdef5c4242b54e43e8e665b1d00e64e5aab08a177b6932296082945685f97436609ddca9cc54a
7
+ data.tar.gz: 3359a648fc52b7ddb22db9066c41986a83ffc95507004432cf2c8ec43f971e2173e06986cbdbd5589631e9eda3facb463566668478067fab47e8a3dd3e07d89f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Ziggeo Ruby Server SDK 1.14
1
+ # Ziggeo Ruby Server SDK 1.15
2
2
 
3
- Ziggeo API (http://ziggeo.com) allows you to integrate video recording and playback with only
3
+ Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only
4
4
  two lines of code in your site, service or app. This is the Ruby Server SDK repository.
5
5
 
6
6
  Pull requests welcome.
@@ -56,7 +56,7 @@ You can integrate the Server SDK as follows:
56
56
  ## Server-Side Methods
57
57
 
58
58
  ### Videos
59
-
59
+
60
60
  The videos resource allows you to access all single videos. Each video may contain more than one stream.
61
61
 
62
62
 
@@ -106,6 +106,18 @@ ziggeo.videos().download_image(token_or_key)
106
106
 
107
107
 
108
108
 
109
+ #### Push To Service
110
+
111
+ Push a video to a provided push service.
112
+
113
+ ```ruby
114
+ ziggeo.videos().push_to_service(token_or_key, arguments = nil)
115
+ ```
116
+
117
+ Arguments
118
+ - pushservicetoken: *Push Services's token (from the Push Services configured for the app)*
119
+
120
+
109
121
  #### Update
110
122
 
111
123
  Update single video by token or key.
@@ -151,7 +163,7 @@ Arguments
151
163
 
152
164
 
153
165
  ### Streams
154
-
166
+
155
167
  The streams resource allows you to directly access all streams associated with a single video.
156
168
 
157
169
 
@@ -197,6 +209,18 @@ ziggeo.streams().download_image(video_token_or_key, token_or_key)
197
209
 
198
210
 
199
211
 
212
+ #### Push To Service
213
+
214
+ Push a stream to a provided push service.
215
+
216
+ ```ruby
217
+ ziggeo.streams().push_to_service(video_token_or_key, token_or_key, arguments = nil)
218
+ ```
219
+
220
+ Arguments
221
+ - pushservicetoken: *Push Services's token (from the Push Services configured for the app)*
222
+
223
+
200
224
  #### Delete
201
225
 
202
226
  Delete the stream
@@ -254,7 +278,7 @@ ziggeo.streams().bind(video_token_or_key, token_or_key, arguments = nil)
254
278
 
255
279
 
256
280
  ### Authtokens
257
-
281
+
258
282
  The auth token resource allows you to manage authorization settings for video objects.
259
283
 
260
284
 
@@ -319,4 +343,4 @@ Arguments
319
343
 
320
344
  Copyright (c) 2013-2016 Ziggeo
321
345
 
322
- Apache 2.0 License
346
+ Apache 2.0 License
@@ -20,6 +20,10 @@ class ZiggeoStreams
20
20
  return @application.connect.get('/videos/' + video_token_or_key + '/streams/' + token_or_key + '/image')
21
21
  end
22
22
 
23
+ def push_to_service(video_token_or_key, token_or_key, data = nil)
24
+ return @application.connect.postJSON('/videos/' + video_token_or_key + '/streams/' + token_or_key + '/push', data)
25
+ end
26
+
23
27
  def delete(video_token_or_key, token_or_key)
24
28
  return @application.connect.delete('/videos/' + video_token_or_key + '/streams/' + token_or_key + '')
25
29
  end
@@ -20,6 +20,10 @@ class ZiggeoVideos
20
20
  return @application.connect.get('/videos/' + token_or_key + '/image')
21
21
  end
22
22
 
23
+ def push_to_service(token_or_key, data = nil)
24
+ return @application.connect.postJSON('/videos/' + token_or_key + '/push', data)
25
+ end
26
+
23
27
  def update(token_or_key, data = nil)
24
28
  return @application.connect.postJSON('/videos/' + token_or_key + '', data)
25
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Ziggeo
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.14'
4
+ version: '1.15'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziggeo, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty