IVLE 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/IVLE.gemspec +29 -0
- data/LICENSE +7 -0
- data/README.md +61 -0
- data/Rakefile +1 -0
- data/config/settings.yml +2 -0
- data/doc/Fixtures.html +167 -0
- data/doc/Fixtures/IVLE.html +213 -0
- data/doc/Gemfile.html +133 -0
- data/doc/IVLE.html +278 -0
- data/doc/IVLE/API.html +424 -0
- data/doc/IVLE/Announcement.html +309 -0
- data/doc/IVLE/Community.html +1305 -0
- data/doc/IVLE/Consultation.html +342 -0
- data/doc/IVLE/DeltaDatasets.html +213 -0
- data/doc/IVLE/Forum.html +533 -0
- data/doc/IVLE/Gradebook.html +213 -0
- data/doc/IVLE/IVLEModule.html +567 -0
- data/doc/IVLE/IVLENews.html +213 -0
- data/doc/IVLE/LibraryEReserves.html +245 -0
- data/doc/IVLE/Login.html +309 -0
- data/doc/IVLE/MyOrganizer.html +520 -0
- data/doc/IVLE/OpenWebcastLectures.html +247 -0
- data/doc/IVLE/Poll.html +309 -0
- data/doc/IVLE/Profile.html +213 -0
- data/doc/IVLE/RostersAndGroups.html +676 -0
- data/doc/IVLE/StudentEvents.html +378 -0
- data/doc/IVLE/Timetable.html +309 -0
- data/doc/IVLE/Webcast.html +247 -0
- data/doc/IVLE/Workbin.html +245 -0
- data/doc/Object.html +185 -0
- data/doc/Rakefile.html +131 -0
- data/doc/created.rid +26 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +126 -0
- data/doc/js/darkfish.js +155 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +379 -0
- data/lib/IVLE.rb +133 -0
- data/lib/IVLE/api/announcement.rb +19 -0
- data/lib/IVLE/api/community.rb +174 -0
- data/lib/IVLE/api/consultation.rb +24 -0
- data/lib/IVLE/api/delta_datasets.rb +7 -0
- data/lib/IVLE/api/forum.rb +47 -0
- data/lib/IVLE/api/gradebook.rb +7 -0
- data/lib/IVLE/api/ivle_news.rb +7 -0
- data/lib/IVLE/api/library_ereserves.rb +11 -0
- data/lib/IVLE/api/login.rb +19 -0
- data/lib/IVLE/api/module.rb +53 -0
- data/lib/IVLE/api/my_organizer.rb +62 -0
- data/lib/IVLE/api/open_webcast_lectures.rb +13 -0
- data/lib/IVLE/api/poll.rb +19 -0
- data/lib/IVLE/api/profile.rb +7 -0
- data/lib/IVLE/api/rosters_and_groups.rb +78 -0
- data/lib/IVLE/api/student_events.rb +32 -0
- data/lib/IVLE/api/timetable.rb +19 -0
- data/lib/IVLE/api/webcast.rb +13 -0
- data/lib/IVLE/api/workbin.rb +11 -0
- data/lib/IVLE/version.rb +3 -0
- data/spec/api/api_spec.rb +34 -0
- data/spec/fixtures/api/login.html +11 -0
- data/spec/fixtures/api/modules.json +201 -0
- data/spec/fixtures/ivle.rb +7 -0
- data/spec/fixtures/modules.json +201 -0
- metadata +216 -0
@@ -0,0 +1,247 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module IVLE::OpenWebcastLectures - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../index.html">Home</a>
|
28
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/IVLE/api/open_webcast_lectures.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<!-- Method Quickref -->
|
62
|
+
<nav id="method-list-section" class="section">
|
63
|
+
<h3 class="section-header">Methods</h3>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="#method-i-open_webcast_add_log">#open_webcast_add_log</a>
|
68
|
+
|
69
|
+
<li><a href="#method-i-open_webcasts">#open_webcasts</a>
|
70
|
+
|
71
|
+
</ul>
|
72
|
+
</nav>
|
73
|
+
|
74
|
+
</div>
|
75
|
+
|
76
|
+
<div id="project-metadata">
|
77
|
+
<nav id="fileindex-section" class="section project-section">
|
78
|
+
<h3 class="section-header">Pages</h3>
|
79
|
+
|
80
|
+
<ul>
|
81
|
+
|
82
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a>
|
83
|
+
|
84
|
+
<li class="file"><a href="../Rakefile.html">Rakefile</a>
|
85
|
+
|
86
|
+
</ul>
|
87
|
+
</nav>
|
88
|
+
|
89
|
+
<nav id="classindex-section" class="section project-section">
|
90
|
+
<h3 class="section-header">Class and Module Index</h3>
|
91
|
+
|
92
|
+
<ul class="link-list">
|
93
|
+
|
94
|
+
<li><a href="../IVLE.html">IVLE</a>
|
95
|
+
|
96
|
+
<li><a href="../IVLE/API.html">IVLE::API</a>
|
97
|
+
|
98
|
+
<li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
|
99
|
+
|
100
|
+
<li><a href="../IVLE/Community.html">IVLE::Community</a>
|
101
|
+
|
102
|
+
<li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
|
103
|
+
|
104
|
+
<li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
|
105
|
+
|
106
|
+
<li><a href="../IVLE/Forum.html">IVLE::Forum</a>
|
107
|
+
|
108
|
+
<li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
|
109
|
+
|
110
|
+
<li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
|
111
|
+
|
112
|
+
<li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
|
113
|
+
|
114
|
+
<li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
|
115
|
+
|
116
|
+
<li><a href="../IVLE/Login.html">IVLE::Login</a>
|
117
|
+
|
118
|
+
<li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
|
119
|
+
|
120
|
+
<li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
|
121
|
+
|
122
|
+
<li><a href="../IVLE/Poll.html">IVLE::Poll</a>
|
123
|
+
|
124
|
+
<li><a href="../IVLE/Profile.html">IVLE::Profile</a>
|
125
|
+
|
126
|
+
<li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
|
127
|
+
|
128
|
+
<li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
|
129
|
+
|
130
|
+
<li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
|
131
|
+
|
132
|
+
<li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
|
133
|
+
|
134
|
+
<li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
|
135
|
+
|
136
|
+
<li><a href="../Fixtures.html">Fixtures</a>
|
137
|
+
|
138
|
+
<li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
|
139
|
+
|
140
|
+
<li><a href="../Object.html">Object</a>
|
141
|
+
|
142
|
+
</ul>
|
143
|
+
</nav>
|
144
|
+
|
145
|
+
</div>
|
146
|
+
</nav>
|
147
|
+
|
148
|
+
<div id="documentation">
|
149
|
+
<h1 class="module">module IVLE::OpenWebcastLectures</h1>
|
150
|
+
|
151
|
+
<div id="description" class="description">
|
152
|
+
|
153
|
+
</div><!-- description -->
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
<!-- Methods -->
|
168
|
+
|
169
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
170
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
171
|
+
|
172
|
+
|
173
|
+
<div id="method-i-open_webcast_add_log" class="method-detail ">
|
174
|
+
|
175
|
+
<div class="method-heading">
|
176
|
+
<span class="method-name">open_webcast_add_log</span><span
|
177
|
+
class="method-args">(media_channel_id, media_channel_item_id)</span>
|
178
|
+
<span class="method-click-advice">click to toggle source</span>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
<div class="method-description">
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
<div class="method-source-code" id="open_webcast_add_log-source">
|
189
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/open_webcast_lectures.rb, line 9</span>
|
190
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">open_webcast_add_log</span>(<span class="ruby-identifier">media_channel_id</span>, <span class="ruby-identifier">media_channel_item_id</span>)
|
191
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'OpenWebcast_AddLog_JSON'</span>, <span class="ruby-identifier">mediachannelid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">media_channel_id</span>, <span class="ruby-identifier">mediachannelitemid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">media_channel_item_id</span>
|
192
|
+
<span class="ruby-keyword">end</span></pre>
|
193
|
+
</div><!-- open_webcast_add_log-source -->
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
</div><!-- open_webcast_add_log-method -->
|
201
|
+
|
202
|
+
|
203
|
+
<div id="method-i-open_webcasts" class="method-detail ">
|
204
|
+
|
205
|
+
<div class="method-heading">
|
206
|
+
<span class="method-name">open_webcasts</span><span
|
207
|
+
class="method-args">(acad_year, semester, title_only=false, media_channel_id=nil)</span>
|
208
|
+
<span class="method-click-advice">click to toggle source</span>
|
209
|
+
</div>
|
210
|
+
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
<div class="method-source-code" id="open_webcasts-source">
|
219
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/open_webcast_lectures.rb, line 3</span>
|
220
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">open_webcasts</span>(<span class="ruby-identifier">acad_year</span>, <span class="ruby-identifier">semester</span>, <span class="ruby-identifier">title_only</span>=<span class="ruby-keyword">false</span>, <span class="ruby-identifier">media_channel_id</span>=<span class="ruby-keyword">nil</span>)
|
221
|
+
<span class="ruby-identifier">params</span> = { <span class="ruby-identifier">acadyear</span><span class="ruby-operator">:</span> <span class="ruby-identifier">acad_year</span>, <span class="ruby-identifier">semester</span><span class="ruby-operator">:</span> <span class="ruby-identifier">semester</span>, <span class="ruby-identifier">titleonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title_only</span> }
|
222
|
+
<span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge!</span>({ <span class="ruby-identifier">mediachannelid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">media_channel_id</span> }) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">media_channel_id</span>.<span class="ruby-identifier">nil?</span>
|
223
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'OpenWebcasts'</span>, <span class="ruby-identifier">params</span>
|
224
|
+
<span class="ruby-keyword">end</span></pre>
|
225
|
+
</div><!-- open_webcasts-source -->
|
226
|
+
|
227
|
+
</div>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
</div><!-- open_webcasts-method -->
|
233
|
+
|
234
|
+
|
235
|
+
</section><!-- public-instance-method-details -->
|
236
|
+
|
237
|
+
</section><!-- 5Buntitled-5D -->
|
238
|
+
|
239
|
+
</div><!-- documentation -->
|
240
|
+
|
241
|
+
|
242
|
+
<footer id="validator-badges">
|
243
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
244
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
|
245
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
246
|
+
</footer>
|
247
|
+
|
data/doc/IVLE/Poll.html
ADDED
@@ -0,0 +1,309 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module IVLE::Poll - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../index.html">Home</a>
|
28
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/IVLE/api/poll.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<!-- Method Quickref -->
|
62
|
+
<nav id="method-list-section" class="section">
|
63
|
+
<h3 class="section-header">Methods</h3>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="#method-i-poll_get_voted_user">#poll_get_voted_user</a>
|
68
|
+
|
69
|
+
<li><a href="#method-i-poll_get_voted_user_other">#poll_get_voted_user_other</a>
|
70
|
+
|
71
|
+
<li><a href="#method-i-poll_submit_vote">#poll_submit_vote</a>
|
72
|
+
|
73
|
+
<li><a href="#method-i-polls">#polls</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</nav>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div id="project-metadata">
|
81
|
+
<nav id="fileindex-section" class="section project-section">
|
82
|
+
<h3 class="section-header">Pages</h3>
|
83
|
+
|
84
|
+
<ul>
|
85
|
+
|
86
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a>
|
87
|
+
|
88
|
+
<li class="file"><a href="../Rakefile.html">Rakefile</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</nav>
|
92
|
+
|
93
|
+
<nav id="classindex-section" class="section project-section">
|
94
|
+
<h3 class="section-header">Class and Module Index</h3>
|
95
|
+
|
96
|
+
<ul class="link-list">
|
97
|
+
|
98
|
+
<li><a href="../IVLE.html">IVLE</a>
|
99
|
+
|
100
|
+
<li><a href="../IVLE/API.html">IVLE::API</a>
|
101
|
+
|
102
|
+
<li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
|
103
|
+
|
104
|
+
<li><a href="../IVLE/Community.html">IVLE::Community</a>
|
105
|
+
|
106
|
+
<li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
|
107
|
+
|
108
|
+
<li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
|
109
|
+
|
110
|
+
<li><a href="../IVLE/Forum.html">IVLE::Forum</a>
|
111
|
+
|
112
|
+
<li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
|
113
|
+
|
114
|
+
<li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
|
115
|
+
|
116
|
+
<li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
|
117
|
+
|
118
|
+
<li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
|
119
|
+
|
120
|
+
<li><a href="../IVLE/Login.html">IVLE::Login</a>
|
121
|
+
|
122
|
+
<li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
|
123
|
+
|
124
|
+
<li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
|
125
|
+
|
126
|
+
<li><a href="../IVLE/Poll.html">IVLE::Poll</a>
|
127
|
+
|
128
|
+
<li><a href="../IVLE/Profile.html">IVLE::Profile</a>
|
129
|
+
|
130
|
+
<li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
|
131
|
+
|
132
|
+
<li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
|
133
|
+
|
134
|
+
<li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
|
135
|
+
|
136
|
+
<li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
|
137
|
+
|
138
|
+
<li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
|
139
|
+
|
140
|
+
<li><a href="../Fixtures.html">Fixtures</a>
|
141
|
+
|
142
|
+
<li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
|
143
|
+
|
144
|
+
<li><a href="../Object.html">Object</a>
|
145
|
+
|
146
|
+
</ul>
|
147
|
+
</nav>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</nav>
|
151
|
+
|
152
|
+
<div id="documentation">
|
153
|
+
<h1 class="module">module IVLE::Poll</h1>
|
154
|
+
|
155
|
+
<div id="description" class="description">
|
156
|
+
|
157
|
+
</div><!-- description -->
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<!-- Methods -->
|
172
|
+
|
173
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
174
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
175
|
+
|
176
|
+
|
177
|
+
<div id="method-i-poll_get_voted_user" class="method-detail ">
|
178
|
+
|
179
|
+
<div class="method-heading">
|
180
|
+
<span class="method-name">poll_get_voted_user</span><span
|
181
|
+
class="method-args">(poll_id, poll_question_id, poll_question_option_id)</span>
|
182
|
+
<span class="method-click-advice">click to toggle source</span>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
<div class="method-description">
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<div class="method-source-code" id="poll_get_voted_user-source">
|
193
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/poll.rb, line 11</span>
|
194
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">poll_get_voted_user</span>(<span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">poll_question_option_id</span>)
|
195
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Poll_GetVotedUser'</span>, <span class="ruby-identifier">pollid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">pollquestionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">pollquestionoptionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_option_id</span>
|
196
|
+
<span class="ruby-keyword">end</span></pre>
|
197
|
+
</div><!-- poll_get_voted_user-source -->
|
198
|
+
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
</div><!-- poll_get_voted_user-method -->
|
205
|
+
|
206
|
+
|
207
|
+
<div id="method-i-poll_get_voted_user_other" class="method-detail ">
|
208
|
+
|
209
|
+
<div class="method-heading">
|
210
|
+
<span class="method-name">poll_get_voted_user_other</span><span
|
211
|
+
class="method-args">(poll_id, poll_question_id, poll_question_option_id)</span>
|
212
|
+
<span class="method-click-advice">click to toggle source</span>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
<div class="method-description">
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<div class="method-source-code" id="poll_get_voted_user_other-source">
|
223
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/poll.rb, line 15</span>
|
224
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">poll_get_voted_user_other</span>(<span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">poll_question_option_id</span>)
|
225
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Poll_GetVotedUser_Other'</span>, <span class="ruby-identifier">pollid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">pollquestionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">pollquestionoptionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_option_id</span>
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div><!-- poll_get_voted_user_other-source -->
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div><!-- poll_get_voted_user_other-method -->
|
235
|
+
|
236
|
+
|
237
|
+
<div id="method-i-poll_submit_vote" class="method-detail ">
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<span class="method-name">poll_submit_vote</span><span
|
241
|
+
class="method-args">(poll_id, poll_question_id, poll_question_option_id, other_text)</span>
|
242
|
+
<span class="method-click-advice">click to toggle source</span>
|
243
|
+
</div>
|
244
|
+
|
245
|
+
|
246
|
+
<div class="method-description">
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
<div class="method-source-code" id="poll_submit_vote-source">
|
253
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/poll.rb, line 7</span>
|
254
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">poll_submit_vote</span>(<span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">poll_question_option_id</span>, <span class="ruby-identifier">other_text</span>)
|
255
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Poll_SubmitVote_JSON'</span>, <span class="ruby-identifier">pollid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">pollquestionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_id</span>, <span class="ruby-identifier">pollquestionoptionid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_question_option_id</span>, <span class="ruby-identifier">othertext</span><span class="ruby-operator">:</span> <span class="ruby-identifier">other_text</span>
|
256
|
+
<span class="ruby-keyword">end</span></pre>
|
257
|
+
</div><!-- poll_submit_vote-source -->
|
258
|
+
|
259
|
+
</div>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
</div><!-- poll_submit_vote-method -->
|
265
|
+
|
266
|
+
|
267
|
+
<div id="method-i-polls" class="method-detail ">
|
268
|
+
|
269
|
+
<div class="method-heading">
|
270
|
+
<span class="method-name">polls</span><span
|
271
|
+
class="method-args">(course_id, poll_id, title_only=false)</span>
|
272
|
+
<span class="method-click-advice">click to toggle source</span>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
|
276
|
+
<div class="method-description">
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
<div class="method-source-code" id="polls-source">
|
283
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/poll.rb, line 3</span>
|
284
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">polls</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">title_only</span>=<span class="ruby-keyword">false</span>)
|
285
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Polls'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">pollid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">poll_id</span>, <span class="ruby-identifier">titleonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title_only</span>
|
286
|
+
<span class="ruby-keyword">end</span></pre>
|
287
|
+
</div><!-- polls-source -->
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
</div><!-- polls-method -->
|
295
|
+
|
296
|
+
|
297
|
+
</section><!-- public-instance-method-details -->
|
298
|
+
|
299
|
+
</section><!-- 5Buntitled-5D -->
|
300
|
+
|
301
|
+
</div><!-- documentation -->
|
302
|
+
|
303
|
+
|
304
|
+
<footer id="validator-badges">
|
305
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
306
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
|
307
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
308
|
+
</footer>
|
309
|
+
|