opentok 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +34 -113
  3. data/doc/reference.md +122 -0
  4. data/lib/open_tok/exception.rb +3 -6
  5. data/lib/open_tok/request.rb +2 -2
  6. data/lib/open_tok/version.rb +1 -1
  7. data/sample/sample.rb +26 -0
  8. data/spec/cassettes/session.yml +1 -1
  9. data/spec/cassettes/stitchArchive.yml +1 -1
  10. data/spec/opentok_spec.rb +4 -4
  11. metadata +19 -77
  12. data/doc/CHANGES.html +0 -128
  13. data/doc/Gemfile.html +0 -114
  14. data/doc/Hash.html +0 -228
  15. data/doc/LICENCE.html +0 -133
  16. data/doc/Net.html +0 -167
  17. data/doc/Net/HTTP.html +0 -260
  18. data/doc/OpenTok.html +0 -173
  19. data/doc/OpenTok/OpenTokException.html +0 -172
  20. data/doc/OpenTok/OpenTokSDK.html +0 -520
  21. data/doc/OpenTok/RoleConstants.html +0 -190
  22. data/doc/OpenTok/Session.html +0 -284
  23. data/doc/OpenTok/SessionPropertyConstants.html +0 -195
  24. data/doc/Rakefile.html +0 -111
  25. data/doc/created.rid +0 -13
  26. data/doc/images/brick.png +0 -0
  27. data/doc/images/brick_link.png +0 -0
  28. data/doc/images/bug.png +0 -0
  29. data/doc/images/bullet_black.png +0 -0
  30. data/doc/images/bullet_toggle_minus.png +0 -0
  31. data/doc/images/bullet_toggle_plus.png +0 -0
  32. data/doc/images/date.png +0 -0
  33. data/doc/images/find.png +0 -0
  34. data/doc/images/loadingAnimation.gif +0 -0
  35. data/doc/images/macFFBgHack.png +0 -0
  36. data/doc/images/package.png +0 -0
  37. data/doc/images/page_green.png +0 -0
  38. data/doc/images/page_white_text.png +0 -0
  39. data/doc/images/page_white_width.png +0 -0
  40. data/doc/images/plugin.png +0 -0
  41. data/doc/images/ruby.png +0 -0
  42. data/doc/images/tag_green.png +0 -0
  43. data/doc/images/wrench.png +0 -0
  44. data/doc/images/wrench_orange.png +0 -0
  45. data/doc/images/zoom.png +0 -0
  46. data/doc/index.html +0 -100
  47. data/doc/js/darkfish.js +0 -116
  48. data/doc/js/jquery.js +0 -32
  49. data/doc/js/quicksearch.js +0 -114
  50. data/doc/js/thickbox-compressed.js +0 -10
  51. data/doc/lib/monkey_patches_rb.html +0 -52
  52. data/doc/lib/open_tok/exceptions_rb.html +0 -52
  53. data/doc/lib/open_tok/open_tok_sdk_rb.html +0 -64
  54. data/doc/lib/open_tok/session_rb.html +0 -52
  55. data/doc/lib/open_tok/version_rb.html +0 -52
  56. data/doc/lib/opentok_rb.html +0 -70
  57. data/doc/rdoc.css +0 -706
  58. data/doc/spec/opentok_spec_rb.html +0 -54
  59. data/doc/spec/spec_helper_rb.html +0 -54
@@ -1,133 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>File: LICENCE [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- <script src="./js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="./js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="./js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="./js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file">
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="project-metadata">
36
-
37
-
38
- <div id="fileindex-section" class="section project-section">
39
- <h3 class="section-header">Files</h3>
40
- <ul>
41
-
42
- <li class="file"><a href="./CHANGES.html">CHANGES</a></li>
43
-
44
- <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
45
-
46
- <li class="file"><a href="./LICENCE.html">LICENCE</a></li>
47
-
48
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
49
-
50
- </ul>
51
- </div>
52
-
53
-
54
- <div id="classindex-section" class="section project-section">
55
- <h3 class="section-header">Class Index
56
- <span class="search-toggle"><img src="./images/find.png"
57
- height="16" width="16" alt="[+]"
58
- title="show/hide quicksearch" /></span></h3>
59
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
60
- <fieldset>
61
- <legend>Quicksearch</legend>
62
- <input type="text" name="quicksearch" value=""
63
- class="quicksearch-field" />
64
- </fieldset>
65
- </form>
66
-
67
- <ul class="link-list">
68
-
69
- <li><a href="./OpenTok.html">OpenTok</a></li>
70
-
71
- <li><a href="./OpenTok/OpenTokException.html">OpenTok::OpenTokException</a></li>
72
-
73
- <li><a href="./OpenTok/OpenTokSDK.html">OpenTok::OpenTokSDK</a></li>
74
-
75
- <li><a href="./OpenTok/RoleConstants.html">OpenTok::RoleConstants</a></li>
76
-
77
- <li><a href="./OpenTok/Session.html">OpenTok::Session</a></li>
78
-
79
- <li><a href="./OpenTok/SessionPropertyConstants.html">OpenTok::SessionPropertyConstants</a></li>
80
-
81
- <li><a href="./Net.html">Net</a></li>
82
-
83
- <li><a href="./Net/HTTP.html">Net::HTTP</a></li>
84
-
85
- <li><a href="./Hash.html">Hash</a></li>
86
-
87
- <li><a href="./Opentok.html">Opentok</a></li>
88
-
89
- </ul>
90
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
91
- </div>
92
-
93
-
94
- </div>
95
- </div>
96
-
97
- <div id="documentation">
98
- <p>
99
- Copyright &#169; 2011 TokBox, Inc.
100
- </p>
101
- <p>
102
- Permission is hereby granted, free of charge, to any person obtaining a
103
- copy of this software and associated documentation files (the
104
- &#8220;Software&#8221;), to deal in the Software without restriction,
105
- including without limitation the rights to use, copy, modify, merge,
106
- publish, distribute, sublicense, and/or sell copies of the Software, and to
107
- permit persons to whom the Software is furnished to do so, subject to the
108
- following conditions:
109
- </p>
110
- <p>
111
- The above copyright notice and this permission notice shall be included in
112
- all copies or substantial portions of the Software.
113
- </p>
114
- <p>
115
- THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221;, WITHOUT WARRANTY OF ANY KIND,
116
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
117
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
118
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
119
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
120
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
121
- USE OR OTHER DEALINGS IN THE SOFTWARE.
122
- </p>
123
-
124
- </div>
125
-
126
- <div id="validator-badges">
127
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
128
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
129
- Rdoc Generator</a> 1.1.6</small>.</p>
130
- </div>
131
- </body>
132
- </html>
133
-
@@ -1,167 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Module: Net</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="module">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- </ul>
42
- </div>
43
- </div>
44
-
45
-
46
- </div>
47
-
48
- <div id="class-metadata">
49
-
50
- <!-- Parent Class -->
51
-
52
-
53
- <!-- Namespace Contents -->
54
-
55
- <div id="namespace-list-section" class="section">
56
- <h3 class="section-header">Namespace</h3>
57
- <ul class="link-list">
58
-
59
- <li><span class="type">CLASS</span> <a href="Net/HTTP.html">Net::HTTP</a></li>
60
-
61
- </ul>
62
- </div>
63
-
64
-
65
- <!-- Method Quickref -->
66
-
67
-
68
- <!-- Included Modules -->
69
-
70
- </div>
71
-
72
- <div id="project-metadata">
73
-
74
-
75
- <div id="fileindex-section" class="section project-section">
76
- <h3 class="section-header">Files</h3>
77
- <ul>
78
-
79
- <li class="file"><a href="./CHANGES.html">CHANGES</a></li>
80
-
81
- <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
82
-
83
- <li class="file"><a href="./LICENCE.html">LICENCE</a></li>
84
-
85
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
86
-
87
- </ul>
88
- </div>
89
-
90
-
91
- <div id="classindex-section" class="section project-section">
92
- <h3 class="section-header">Class Index
93
- <span class="search-toggle"><img src="./images/find.png"
94
- height="16" width="16" alt="[+]"
95
- title="show/hide quicksearch" /></span></h3>
96
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
97
- <fieldset>
98
- <legend>Quicksearch</legend>
99
- <input type="text" name="quicksearch" value=""
100
- class="quicksearch-field" />
101
- </fieldset>
102
- </form>
103
-
104
- <ul class="link-list">
105
-
106
- <li><a href="./OpenTok.html">OpenTok</a></li>
107
-
108
- <li><a href="./OpenTok/OpenTokException.html">OpenTok::OpenTokException</a></li>
109
-
110
- <li><a href="./OpenTok/OpenTokSDK.html">OpenTok::OpenTokSDK</a></li>
111
-
112
- <li><a href="./OpenTok/RoleConstants.html">OpenTok::RoleConstants</a></li>
113
-
114
- <li><a href="./OpenTok/Session.html">OpenTok::Session</a></li>
115
-
116
- <li><a href="./OpenTok/SessionPropertyConstants.html">OpenTok::SessionPropertyConstants</a></li>
117
-
118
- <li><a href="./Net.html">Net</a></li>
119
-
120
- <li><a href="./Net/HTTP.html">Net::HTTP</a></li>
121
-
122
- <li><a href="./Hash.html">Hash</a></li>
123
-
124
- <li><a href="./Opentok.html">Opentok</a></li>
125
-
126
- </ul>
127
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
128
- </div>
129
-
130
-
131
- </div>
132
- </div>
133
-
134
- <div id="documentation">
135
- <h1 class="module">Net</h1>
136
-
137
- <div id="description">
138
-
139
- </div>
140
-
141
- <!-- Constants -->
142
-
143
-
144
- <!-- Attributes -->
145
-
146
-
147
- <!-- Methods -->
148
-
149
-
150
- </div>
151
-
152
-
153
- <div id="rdoc-debugging-section-dump" class="debugging-section">
154
-
155
- <p>Disabled; run with --debug to generate this.</p>
156
-
157
- </div>
158
-
159
- <div id="validator-badges">
160
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
161
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
162
- Rdoc Generator</a> 1.1.6</small>.</p>
163
- </div>
164
-
165
- </body>
166
- </html>
167
-
@@ -1,260 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: Net::HTTP</title>
9
-
10
- <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="../js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="../js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="../js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="../js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="../index.html">Home</a>
29
- <a href="../index.html#classes">Classes</a>
30
- <a href="../index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="../lib/monkey_patches_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/monkey_patches.rb">lib/monkey_patches.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link">Object</p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-c-new">::new</a></li>
73
-
74
- <li><a href="#method-i-old_initialize">#old_initialize</a></li>
75
-
76
- </ul>
77
- </div>
78
-
79
-
80
- <!-- Included Modules -->
81
-
82
- </div>
83
-
84
- <div id="project-metadata">
85
-
86
-
87
- <div id="fileindex-section" class="section project-section">
88
- <h3 class="section-header">Files</h3>
89
- <ul>
90
-
91
- <li class="file"><a href="../CHANGES.html">CHANGES</a></li>
92
-
93
- <li class="file"><a href="../Gemfile.html">Gemfile</a></li>
94
-
95
- <li class="file"><a href="../LICENCE.html">LICENCE</a></li>
96
-
97
- <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
98
-
99
- </ul>
100
- </div>
101
-
102
-
103
- <div id="classindex-section" class="section project-section">
104
- <h3 class="section-header">Class Index
105
- <span class="search-toggle"><img src="../images/find.png"
106
- height="16" width="16" alt="[+]"
107
- title="show/hide quicksearch" /></span></h3>
108
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
109
- <fieldset>
110
- <legend>Quicksearch</legend>
111
- <input type="text" name="quicksearch" value=""
112
- class="quicksearch-field" />
113
- </fieldset>
114
- </form>
115
-
116
- <ul class="link-list">
117
-
118
- <li><a href="../OpenTok.html">OpenTok</a></li>
119
-
120
- <li><a href="../OpenTok/OpenTokException.html">OpenTok::OpenTokException</a></li>
121
-
122
- <li><a href="../OpenTok/OpenTokSDK.html">OpenTok::OpenTokSDK</a></li>
123
-
124
- <li><a href="../OpenTok/RoleConstants.html">OpenTok::RoleConstants</a></li>
125
-
126
- <li><a href="../OpenTok/Session.html">OpenTok::Session</a></li>
127
-
128
- <li><a href="../OpenTok/SessionPropertyConstants.html">OpenTok::SessionPropertyConstants</a></li>
129
-
130
- <li><a href="../Net.html">Net</a></li>
131
-
132
- <li><a href="../Net/HTTP.html">Net::HTTP</a></li>
133
-
134
- <li><a href="../Hash.html">Hash</a></li>
135
-
136
- <li><a href="../Opentok.html">Opentok</a></li>
137
-
138
- </ul>
139
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
140
- </div>
141
-
142
-
143
- </div>
144
- </div>
145
-
146
- <div id="documentation">
147
- <h1 class="class">Net::HTTP</h1>
148
-
149
- <div id="description">
150
-
151
- </div>
152
-
153
- <!-- Constants -->
154
-
155
-
156
- <!-- Attributes -->
157
-
158
-
159
- <!-- Methods -->
160
-
161
- <div id="public-class-method-details" class="method-section section">
162
- <h3 class="section-header">Public Class Methods</h3>
163
-
164
-
165
- <div id="new-method" class="method-detail ">
166
- <a name="method-c-new"></a>
167
-
168
- <div class="method-heading">
169
-
170
- <span class="method-name">new</span><span
171
- class="method-args">(*args)</span>
172
- <span class="method-click-advice">click to toggle source</span>
173
-
174
- </div>
175
-
176
- <div class="method-description">
177
-
178
-
179
-
180
-
181
-
182
- <div class="method-source-code"
183
- id="new-source">
184
- <pre>
185
- <span class="ruby-comment cmt"># File lib/monkey_patches.rb, line 29</span>
186
- 29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(*<span class="ruby-identifier">args</span>)
187
- 30: <span class="ruby-identifier">old_initialize</span>(*<span class="ruby-identifier">args</span>)
188
- 31: <span class="ruby-ivar">@ssl_context</span> = <span class="ruby-constant">OpenSSL</span><span class="ruby-operator">::</span><span class="ruby-constant">SSL</span><span class="ruby-operator">::</span><span class="ruby-constant">SSLContext</span>.<span class="ruby-identifier">new</span>
189
- 32: <span class="ruby-ivar">@ssl_context</span>.<span class="ruby-identifier">verify_mode</span> = <span class="ruby-constant">OpenSSL</span><span class="ruby-operator">::</span><span class="ruby-constant">SSL</span><span class="ruby-operator">::</span><span class="ruby-constant">VERIFY_NONE</span>
190
- 33: <span class="ruby-keyword kw">end</span></pre>
191
- </div>
192
-
193
- </div>
194
-
195
-
196
- <div class="aliases">
197
- Also aliased as: <a href="HTTP.html#method-i-old_initialize">old_initialize</a>
198
- </div>
199
-
200
-
201
-
202
- </div>
203
-
204
-
205
- </div>
206
-
207
- <div id="public-instance-method-details" class="method-section section">
208
- <h3 class="section-header">Public Instance Methods</h3>
209
-
210
-
211
- <div id="old-initialize-method" class="method-detail method-alias">
212
- <a name="method-i-old_initialize"></a>
213
-
214
- <div class="method-heading">
215
-
216
- <span class="method-name">old_initialize</span><span
217
- class="method-args">(*args)</span>
218
- <span class="method-click-advice">click to toggle source</span>
219
-
220
- </div>
221
-
222
- <div class="method-description">
223
-
224
-
225
-
226
-
227
-
228
- </div>
229
-
230
-
231
-
232
-
233
- <div class="aliases">
234
- Alias for: <a href="HTTP.html#method-c-new">new</a>
235
- </div>
236
-
237
- </div>
238
-
239
-
240
- </div>
241
-
242
-
243
- </div>
244
-
245
-
246
- <div id="rdoc-debugging-section-dump" class="debugging-section">
247
-
248
- <p>Disabled; run with --debug to generate this.</p>
249
-
250
- </div>
251
-
252
- <div id="validator-badges">
253
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
254
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
255
- Rdoc Generator</a> 1.1.6</small>.</p>
256
- </div>
257
-
258
- </body>
259
- </html>
260
-