bigbluebutton-api-ruby 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/CHANGELOG.rdoc +23 -0
- data/LICENSE +3 -0
- data/README.rdoc +32 -0
- data/Rakefile +11 -28
- data/bigbluebutton-api-ruby.gemspec +18 -0
- data/lib/bigbluebutton-api.rb +90 -37
- data/lib/hash_to_xml.rb +1 -1
- data/test/test.rb +17 -8
- metadata +43 -64
- data/README +0 -41
- data/doc/classes/BigBlueButton.html +0 -112
- data/doc/classes/BigBlueButton/BigBlueButtonApi.html +0 -657
- data/doc/classes/BigBlueButton/BigBlueButtonException.html +0 -111
- data/doc/classes/Hash.html +0 -269
- data/doc/created.rid +0 -1
- data/doc/files/LICENSE.html +0 -133
- data/doc/files/README.html +0 -182
- data/doc/files/lib/bigbluebutton-api_rb.html +0 -114
- data/doc/files/lib/hash_to_xml_rb.html +0 -111
- data/doc/fr_class_index.html +0 -30
- data/doc/fr_file_index.html +0 -30
- data/doc/fr_method_index.html +0 -41
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/lib/hash_to_xml.rb~ +0 -62
- data/test/config.yml +0 -11
- data/test/config.yml.example~ +0 -9
- data/test/config.yml~ +0 -9
data/doc/files/README.html
DELETED
@@ -1,182 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: README</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>README</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>README
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Tue Feb 08 14:51:13 -0200 2011</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<h1>Project: bigbluebutton-api-ruby</h1>
|
73
|
-
<h2>Goal</h2>
|
74
|
-
<p>
|
75
|
-
Provide access to the <a
|
76
|
-
href="../classes/BigBlueButton.html">BigBlueButton</a> web conferencing
|
77
|
-
API.
|
78
|
-
</p>
|
79
|
-
<h2>Releases</h2>
|
80
|
-
<h3>Version 0.0.4</h3>
|
81
|
-
<p>
|
82
|
-
Gem renamed from ‘bigbluebutton’ to
|
83
|
-
‘bigbluebutton-api-ruby’.
|
84
|
-
</p>
|
85
|
-
<p>
|
86
|
-
First version with support also to BBB API version 0.7.
|
87
|
-
</p>
|
88
|
-
<p>
|
89
|
-
Changes:
|
90
|
-
</p>
|
91
|
-
<ul>
|
92
|
-
<li>API functions now return a hash and instead of the XML returned by BBB. The
|
93
|
-
XML is converted to a hash that uses symbols as keys and groups keys with
|
94
|
-
the same name.
|
95
|
-
|
96
|
-
</li>
|
97
|
-
</ul>
|
98
|
-
<h3>Version 0.0.3</h3>
|
99
|
-
<p>
|
100
|
-
Fixes module issue preventing proper throwing of exceptions.
|
101
|
-
</p>
|
102
|
-
<h3>Version 0.0.1</h3>
|
103
|
-
<p>
|
104
|
-
This is the first version of this gem. It provides an implementation of the
|
105
|
-
0.64 bbb API, with the following exceptions:
|
106
|
-
</p>
|
107
|
-
<ul>
|
108
|
-
<li>Does not implement meeting token, and instead relies on meeting id as the
|
109
|
-
unique identifier for a meeting.
|
110
|
-
|
111
|
-
</li>
|
112
|
-
<li>Documentation suggests there is way to call join_meeting as API call
|
113
|
-
(instead of browser URL). This call currently does not work as documented.
|
114
|
-
|
115
|
-
</li>
|
116
|
-
</ul>
|
117
|
-
<h2>Contact</h2>
|
118
|
-
<h3>Version 0.0.4+</h3>
|
119
|
-
<table>
|
120
|
-
<tr><td valign="top">Author:</td><td>Leonardo Crauss Daronco
|
121
|
-
|
122
|
-
</td></tr>
|
123
|
-
<tr><td valign="top">Email:</td><td>leonardodaronco@gmail.com
|
124
|
-
|
125
|
-
</td></tr>
|
126
|
-
<tr><td valign="top">Home Page:</td><td><a
|
127
|
-
href="http://www.inf.ufrgs.br/prav/gtmconf">www.inf.ufrgs.br/prav/gtmconf</a>/
|
128
|
-
|
129
|
-
</td></tr>
|
130
|
-
<tr><td valign="top">License:</td><td>Distributed under same terms as Ruby
|
131
|
-
|
132
|
-
</td></tr>
|
133
|
-
</table>
|
134
|
-
<h3>Version 0.0.3 and below</h3>
|
135
|
-
<table>
|
136
|
-
<tr><td valign="top">Author:</td><td>Joe Kinsella
|
137
|
-
|
138
|
-
</td></tr>
|
139
|
-
<tr><td valign="top">Email:</td><td>joe.kinsella@gmail.com
|
140
|
-
|
141
|
-
</td></tr>
|
142
|
-
<tr><td valign="top">Home Page:</td><td><a
|
143
|
-
href="http://www.brownbaglunch.com/bigbluebutton">www.brownbaglunch.com/bigbluebutton</a>
|
144
|
-
|
145
|
-
</td></tr>
|
146
|
-
<tr><td valign="top">License:</td><td>Distributes under same terms as Ruby
|
147
|
-
|
148
|
-
</td></tr>
|
149
|
-
</table>
|
150
|
-
|
151
|
-
</div>
|
152
|
-
|
153
|
-
|
154
|
-
</div>
|
155
|
-
|
156
|
-
|
157
|
-
</div>
|
158
|
-
|
159
|
-
|
160
|
-
<!-- if includes -->
|
161
|
-
|
162
|
-
<div id="section">
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<!-- if method_list -->
|
172
|
-
|
173
|
-
|
174
|
-
</div>
|
175
|
-
|
176
|
-
|
177
|
-
<div id="validator-badges">
|
178
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
</body>
|
182
|
-
</html>
|
@@ -1,114 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: bigbluebutton-api.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>bigbluebutton-api.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/bigbluebutton-api.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Tue Feb 08 14:45:14 -0200 2011</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
|
72
|
-
<div id="requires-list">
|
73
|
-
<h3 class="section-bar">Required files</h3>
|
74
|
-
|
75
|
-
<div class="name-list">
|
76
|
-
net/http
|
77
|
-
cgi
|
78
|
-
rexml/document
|
79
|
-
digest/sha1
|
80
|
-
rubygems
|
81
|
-
nokogiri
|
82
|
-
hash_to_xml
|
83
|
-
</div>
|
84
|
-
</div>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
<!-- if includes -->
|
93
|
-
|
94
|
-
<div id="section">
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<!-- if method_list -->
|
104
|
-
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
<div id="validator-badges">
|
110
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
111
|
-
</div>
|
112
|
-
|
113
|
-
</body>
|
114
|
-
</html>
|
@@ -1,111 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: hash_to_xml.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>hash_to_xml.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/hash_to_xml.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Mon Feb 07 17:25:21 -0200 2011</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Code from: <a
|
74
|
-
href="https://gist.github.com/335286">gist.github.com/335286</a> USAGE: <a
|
75
|
-
href="../../classes/Hash.html#M000001">Hash.from_xml</a>:(YOUR_XML_STRING)
|
76
|
-
modified from <a
|
77
|
-
href="http://stackoverflow.com/questions/1230741/convert-a-nokogiri-document-to-a-ruby-hash/1231297#1231297">stackoverflow.com/questions/1230741/convert-a-nokogiri-document-to-a-ruby-hash/1231297#1231297</a>
|
78
|
-
</p>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
|
91
|
-
<div id="section">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if method_list -->
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
<div id="validator-badges">
|
107
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</body>
|
111
|
-
</html>
|
data/doc/fr_class_index.html
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Classes
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Classes</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Classes</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="classes/BigBlueButton.html">BigBlueButton</a><br />
|
24
|
-
<a href="classes/BigBlueButton/BigBlueButtonApi.html">BigBlueButton::BigBlueButtonApi</a><br />
|
25
|
-
<a href="classes/BigBlueButton/BigBlueButtonException.html">BigBlueButton::BigBlueButtonException</a><br />
|
26
|
-
<a href="classes/Hash.html">Hash</a><br />
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
</body>
|
30
|
-
</html>
|
data/doc/fr_file_index.html
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Files
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Files</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Files</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="files/LICENSE.html">LICENSE</a><br />
|
24
|
-
<a href="files/README.html">README</a><br />
|
25
|
-
<a href="files/lib/bigbluebutton-api_rb.html">lib/bigbluebutton-api.rb</a><br />
|
26
|
-
<a href="files/lib/hash_to_xml_rb.html">lib/hash_to_xml.rb</a><br />
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
</body>
|
30
|
-
</html>
|