IVLE 0.0.1

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.
Files changed (94) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/IVLE.gemspec +29 -0
  4. data/LICENSE +7 -0
  5. data/README.md +61 -0
  6. data/Rakefile +1 -0
  7. data/config/settings.yml +2 -0
  8. data/doc/Fixtures.html +167 -0
  9. data/doc/Fixtures/IVLE.html +213 -0
  10. data/doc/Gemfile.html +133 -0
  11. data/doc/IVLE.html +278 -0
  12. data/doc/IVLE/API.html +424 -0
  13. data/doc/IVLE/Announcement.html +309 -0
  14. data/doc/IVLE/Community.html +1305 -0
  15. data/doc/IVLE/Consultation.html +342 -0
  16. data/doc/IVLE/DeltaDatasets.html +213 -0
  17. data/doc/IVLE/Forum.html +533 -0
  18. data/doc/IVLE/Gradebook.html +213 -0
  19. data/doc/IVLE/IVLEModule.html +567 -0
  20. data/doc/IVLE/IVLENews.html +213 -0
  21. data/doc/IVLE/LibraryEReserves.html +245 -0
  22. data/doc/IVLE/Login.html +309 -0
  23. data/doc/IVLE/MyOrganizer.html +520 -0
  24. data/doc/IVLE/OpenWebcastLectures.html +247 -0
  25. data/doc/IVLE/Poll.html +309 -0
  26. data/doc/IVLE/Profile.html +213 -0
  27. data/doc/IVLE/RostersAndGroups.html +676 -0
  28. data/doc/IVLE/StudentEvents.html +378 -0
  29. data/doc/IVLE/Timetable.html +309 -0
  30. data/doc/IVLE/Webcast.html +247 -0
  31. data/doc/IVLE/Workbin.html +245 -0
  32. data/doc/Object.html +185 -0
  33. data/doc/Rakefile.html +131 -0
  34. data/doc/created.rid +26 -0
  35. data/doc/images/add.png +0 -0
  36. data/doc/images/brick.png +0 -0
  37. data/doc/images/brick_link.png +0 -0
  38. data/doc/images/bug.png +0 -0
  39. data/doc/images/bullet_black.png +0 -0
  40. data/doc/images/bullet_toggle_minus.png +0 -0
  41. data/doc/images/bullet_toggle_plus.png +0 -0
  42. data/doc/images/date.png +0 -0
  43. data/doc/images/delete.png +0 -0
  44. data/doc/images/find.png +0 -0
  45. data/doc/images/loadingAnimation.gif +0 -0
  46. data/doc/images/macFFBgHack.png +0 -0
  47. data/doc/images/package.png +0 -0
  48. data/doc/images/page_green.png +0 -0
  49. data/doc/images/page_white_text.png +0 -0
  50. data/doc/images/page_white_width.png +0 -0
  51. data/doc/images/plugin.png +0 -0
  52. data/doc/images/ruby.png +0 -0
  53. data/doc/images/tag_blue.png +0 -0
  54. data/doc/images/tag_green.png +0 -0
  55. data/doc/images/transparent.png +0 -0
  56. data/doc/images/wrench.png +0 -0
  57. data/doc/images/wrench_orange.png +0 -0
  58. data/doc/images/zoom.png +0 -0
  59. data/doc/index.html +126 -0
  60. data/doc/js/darkfish.js +155 -0
  61. data/doc/js/jquery.js +18 -0
  62. data/doc/js/navigation.js +142 -0
  63. data/doc/js/search.js +94 -0
  64. data/doc/js/search_index.js +1 -0
  65. data/doc/js/searcher.js +228 -0
  66. data/doc/rdoc.css +543 -0
  67. data/doc/table_of_contents.html +379 -0
  68. data/lib/IVLE.rb +133 -0
  69. data/lib/IVLE/api/announcement.rb +19 -0
  70. data/lib/IVLE/api/community.rb +174 -0
  71. data/lib/IVLE/api/consultation.rb +24 -0
  72. data/lib/IVLE/api/delta_datasets.rb +7 -0
  73. data/lib/IVLE/api/forum.rb +47 -0
  74. data/lib/IVLE/api/gradebook.rb +7 -0
  75. data/lib/IVLE/api/ivle_news.rb +7 -0
  76. data/lib/IVLE/api/library_ereserves.rb +11 -0
  77. data/lib/IVLE/api/login.rb +19 -0
  78. data/lib/IVLE/api/module.rb +53 -0
  79. data/lib/IVLE/api/my_organizer.rb +62 -0
  80. data/lib/IVLE/api/open_webcast_lectures.rb +13 -0
  81. data/lib/IVLE/api/poll.rb +19 -0
  82. data/lib/IVLE/api/profile.rb +7 -0
  83. data/lib/IVLE/api/rosters_and_groups.rb +78 -0
  84. data/lib/IVLE/api/student_events.rb +32 -0
  85. data/lib/IVLE/api/timetable.rb +19 -0
  86. data/lib/IVLE/api/webcast.rb +13 -0
  87. data/lib/IVLE/api/workbin.rb +11 -0
  88. data/lib/IVLE/version.rb +3 -0
  89. data/spec/api/api_spec.rb +34 -0
  90. data/spec/fixtures/api/login.html +11 -0
  91. data/spec/fixtures/api/modules.json +201 -0
  92. data/spec/fixtures/ivle.rb +7 -0
  93. data/spec/fixtures/modules.json +201 -0
  94. metadata +216 -0
@@ -0,0 +1,213 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type">
6
+
7
+ <title>module IVLE::Gradebook - 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/gradebook.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-workbins">#workbins</a>
68
+
69
+ </ul>
70
+ </nav>
71
+
72
+ </div>
73
+
74
+ <div id="project-metadata">
75
+ <nav id="fileindex-section" class="section project-section">
76
+ <h3 class="section-header">Pages</h3>
77
+
78
+ <ul>
79
+
80
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
81
+
82
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
83
+
84
+ </ul>
85
+ </nav>
86
+
87
+ <nav id="classindex-section" class="section project-section">
88
+ <h3 class="section-header">Class and Module Index</h3>
89
+
90
+ <ul class="link-list">
91
+
92
+ <li><a href="../IVLE.html">IVLE</a>
93
+
94
+ <li><a href="../IVLE/API.html">IVLE::API</a>
95
+
96
+ <li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
97
+
98
+ <li><a href="../IVLE/Community.html">IVLE::Community</a>
99
+
100
+ <li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
101
+
102
+ <li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
103
+
104
+ <li><a href="../IVLE/Forum.html">IVLE::Forum</a>
105
+
106
+ <li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
107
+
108
+ <li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
109
+
110
+ <li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
111
+
112
+ <li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
113
+
114
+ <li><a href="../IVLE/Login.html">IVLE::Login</a>
115
+
116
+ <li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
117
+
118
+ <li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
119
+
120
+ <li><a href="../IVLE/Poll.html">IVLE::Poll</a>
121
+
122
+ <li><a href="../IVLE/Profile.html">IVLE::Profile</a>
123
+
124
+ <li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
125
+
126
+ <li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
127
+
128
+ <li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
129
+
130
+ <li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
131
+
132
+ <li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
133
+
134
+ <li><a href="../Fixtures.html">Fixtures</a>
135
+
136
+ <li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
137
+
138
+ <li><a href="../Object.html">Object</a>
139
+
140
+ </ul>
141
+ </nav>
142
+
143
+ </div>
144
+ </nav>
145
+
146
+ <div id="documentation">
147
+ <h1 class="module">module IVLE::Gradebook</h1>
148
+
149
+ <div id="description" class="description">
150
+
151
+ </div><!-- description -->
152
+
153
+
154
+
155
+
156
+ <section id="5Buntitled-5D" class="documentation-section">
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <!-- Methods -->
166
+
167
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
168
+ <h3 class="section-header">Public Instance Methods</h3>
169
+
170
+
171
+ <div id="method-i-workbins" class="method-detail ">
172
+
173
+ <div class="method-heading">
174
+ <span class="method-name">workbins</span><span
175
+ class="method-args">(course_id)</span>
176
+ <span class="method-click-advice">click to toggle source</span>
177
+ </div>
178
+
179
+
180
+ <div class="method-description">
181
+
182
+
183
+
184
+
185
+
186
+ <div class="method-source-code" id="workbins-source">
187
+ <pre><span class="ruby-comment"># File lib/IVLE/api/gradebook.rb, line 3</span>
188
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">workbins</span>(<span class="ruby-identifier">course_id</span>)
189
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Gradebook_ViewItems'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>
190
+ <span class="ruby-keyword">end</span></pre>
191
+ </div><!-- workbins-source -->
192
+
193
+ </div>
194
+
195
+
196
+
197
+
198
+ </div><!-- workbins-method -->
199
+
200
+
201
+ </section><!-- public-instance-method-details -->
202
+
203
+ </section><!-- 5Buntitled-5D -->
204
+
205
+ </div><!-- documentation -->
206
+
207
+
208
+ <footer id="validator-badges">
209
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
210
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
211
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
212
+ </footer>
213
+
@@ -0,0 +1,567 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type">
6
+
7
+ <title>module IVLE::IVLEModule - 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/module.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-module">#module</a>
68
+
69
+ <li><a href="#method-i-module_information">#module_information</a>
70
+
71
+ <li><a href="#method-i-module_lecturers">#module_lecturers</a>
72
+
73
+ <li><a href="#method-i-module_reading">#module_reading</a>
74
+
75
+ <li><a href="#method-i-module_reading_formatted">#module_reading_formatted</a>
76
+
77
+ <li><a href="#method-i-module_reading_unformatted">#module_reading_unformatted</a>
78
+
79
+ <li><a href="#method-i-module_weblinks">#module_weblinks</a>
80
+
81
+ <li><a href="#method-i-modules">#modules</a>
82
+
83
+ <li><a href="#method-i-modules_search">#modules_search</a>
84
+
85
+ <li><a href="#method-i-modules_staff">#modules_staff</a>
86
+
87
+ <li><a href="#method-i-modules_student">#modules_student</a>
88
+
89
+ <li><a href="#method-i-modules_taken">#modules_taken</a>
90
+
91
+ </ul>
92
+ </nav>
93
+
94
+ </div>
95
+
96
+ <div id="project-metadata">
97
+ <nav id="fileindex-section" class="section project-section">
98
+ <h3 class="section-header">Pages</h3>
99
+
100
+ <ul>
101
+
102
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
103
+
104
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
105
+
106
+ </ul>
107
+ </nav>
108
+
109
+ <nav id="classindex-section" class="section project-section">
110
+ <h3 class="section-header">Class and Module Index</h3>
111
+
112
+ <ul class="link-list">
113
+
114
+ <li><a href="../IVLE.html">IVLE</a>
115
+
116
+ <li><a href="../IVLE/API.html">IVLE::API</a>
117
+
118
+ <li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
119
+
120
+ <li><a href="../IVLE/Community.html">IVLE::Community</a>
121
+
122
+ <li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
123
+
124
+ <li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
125
+
126
+ <li><a href="../IVLE/Forum.html">IVLE::Forum</a>
127
+
128
+ <li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
129
+
130
+ <li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
131
+
132
+ <li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
133
+
134
+ <li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
135
+
136
+ <li><a href="../IVLE/Login.html">IVLE::Login</a>
137
+
138
+ <li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
139
+
140
+ <li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
141
+
142
+ <li><a href="../IVLE/Poll.html">IVLE::Poll</a>
143
+
144
+ <li><a href="../IVLE/Profile.html">IVLE::Profile</a>
145
+
146
+ <li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
147
+
148
+ <li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
149
+
150
+ <li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
151
+
152
+ <li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
153
+
154
+ <li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
155
+
156
+ <li><a href="../Fixtures.html">Fixtures</a>
157
+
158
+ <li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
159
+
160
+ <li><a href="../Object.html">Object</a>
161
+
162
+ </ul>
163
+ </nav>
164
+
165
+ </div>
166
+ </nav>
167
+
168
+ <div id="documentation">
169
+ <h1 class="module">module IVLE::IVLEModule</h1>
170
+
171
+ <div id="description" class="description">
172
+
173
+ </div><!-- description -->
174
+
175
+
176
+
177
+
178
+ <section id="5Buntitled-5D" class="documentation-section">
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <!-- Methods -->
188
+
189
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
190
+ <h3 class="section-header">Public Instance Methods</h3>
191
+
192
+
193
+ <div id="method-i-module" class="method-detail ">
194
+
195
+ <div class="method-heading">
196
+ <span class="method-name">module</span><span
197
+ class="method-args">(course_id, title_only=false, duration=0, include_all_info=true)</span>
198
+ <span class="method-click-advice">click to toggle source</span>
199
+ </div>
200
+
201
+
202
+ <div class="method-description">
203
+
204
+
205
+
206
+
207
+
208
+ <div class="method-source-code" id="module-source">
209
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 15</span>
210
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">module</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">title_only</span>=<span class="ruby-keyword">false</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">include_all_info</span>=<span class="ruby-keyword">true</span>)
211
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">titleonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title_only</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>, <span class="ruby-identifier">includeallinfo</span><span class="ruby-operator">:</span> <span class="ruby-identifier">include_all_info</span>
212
+ <span class="ruby-keyword">end</span></pre>
213
+ </div><!-- module-source -->
214
+
215
+ </div>
216
+
217
+
218
+
219
+
220
+ </div><!-- module-method -->
221
+
222
+
223
+ <div id="method-i-module_information" class="method-detail ">
224
+
225
+ <div class="method-heading">
226
+ <span class="method-name">module_information</span><span
227
+ class="method-args">(course_id, duration=0)</span>
228
+ <span class="method-click-advice">click to toggle source</span>
229
+ </div>
230
+
231
+
232
+ <div class="method-description">
233
+
234
+
235
+
236
+
237
+
238
+ <div class="method-source-code" id="module_information-source">
239
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 29</span>
240
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_information</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
241
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_Information'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
242
+ <span class="ruby-keyword">end</span></pre>
243
+ </div><!-- module_information-source -->
244
+
245
+ </div>
246
+
247
+
248
+
249
+
250
+ </div><!-- module_information-method -->
251
+
252
+
253
+ <div id="method-i-module_lecturers" class="method-detail ">
254
+
255
+ <div class="method-heading">
256
+ <span class="method-name">module_lecturers</span><span
257
+ class="method-args">(course_id, duration=0)</span>
258
+ <span class="method-click-advice">click to toggle source</span>
259
+ </div>
260
+
261
+
262
+ <div class="method-description">
263
+
264
+
265
+
266
+
267
+
268
+ <div class="method-source-code" id="module_lecturers-source">
269
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 25</span>
270
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_lecturers</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
271
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_Lecturers'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
272
+ <span class="ruby-keyword">end</span></pre>
273
+ </div><!-- module_lecturers-source -->
274
+
275
+ </div>
276
+
277
+
278
+
279
+
280
+ </div><!-- module_lecturers-method -->
281
+
282
+
283
+ <div id="method-i-module_reading" class="method-detail ">
284
+
285
+ <div class="method-heading">
286
+ <span class="method-name">module_reading</span><span
287
+ class="method-args">(course_id, duration=0)</span>
288
+ <span class="method-click-advice">click to toggle source</span>
289
+ </div>
290
+
291
+
292
+ <div class="method-description">
293
+
294
+
295
+
296
+
297
+
298
+ <div class="method-source-code" id="module_reading-source">
299
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 45</span>
300
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_reading</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
301
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_Reading'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
302
+ <span class="ruby-keyword">end</span></pre>
303
+ </div><!-- module_reading-source -->
304
+
305
+ </div>
306
+
307
+
308
+
309
+
310
+ </div><!-- module_reading-method -->
311
+
312
+
313
+ <div id="method-i-module_reading_formatted" class="method-detail ">
314
+
315
+ <div class="method-heading">
316
+ <span class="method-name">module_reading_formatted</span><span
317
+ class="method-args">(course_id, duration=0)</span>
318
+ <span class="method-click-advice">click to toggle source</span>
319
+ </div>
320
+
321
+
322
+ <div class="method-description">
323
+
324
+
325
+
326
+
327
+
328
+ <div class="method-source-code" id="module_reading_formatted-source">
329
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 37</span>
330
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_reading_formatted</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
331
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_ReadingFormatted'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
332
+ <span class="ruby-keyword">end</span></pre>
333
+ </div><!-- module_reading_formatted-source -->
334
+
335
+ </div>
336
+
337
+
338
+
339
+
340
+ </div><!-- module_reading_formatted-method -->
341
+
342
+
343
+ <div id="method-i-module_reading_unformatted" class="method-detail ">
344
+
345
+ <div class="method-heading">
346
+ <span class="method-name">module_reading_unformatted</span><span
347
+ class="method-args">(course_id, duration=0)</span>
348
+ <span class="method-click-advice">click to toggle source</span>
349
+ </div>
350
+
351
+
352
+ <div class="method-description">
353
+
354
+
355
+
356
+
357
+
358
+ <div class="method-source-code" id="module_reading_unformatted-source">
359
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 41</span>
360
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_reading_unformatted</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
361
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_ReadingUnformatted'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
362
+ <span class="ruby-keyword">end</span></pre>
363
+ </div><!-- module_reading_unformatted-source -->
364
+
365
+ </div>
366
+
367
+
368
+
369
+
370
+ </div><!-- module_reading_unformatted-method -->
371
+
372
+
373
+ <div id="method-i-module_weblinks" class="method-detail ">
374
+
375
+ <div class="method-heading">
376
+ <span class="method-name">module_weblinks</span><span
377
+ class="method-args">(course_id)</span>
378
+ <span class="method-click-advice">click to toggle source</span>
379
+ </div>
380
+
381
+
382
+ <div class="method-description">
383
+
384
+
385
+
386
+
387
+
388
+ <div class="method-source-code" id="module_weblinks-source">
389
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 33</span>
390
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">module_weblinks</span>(<span class="ruby-identifier">course_id</span>)
391
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Module_Weblinks'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>
392
+ <span class="ruby-keyword">end</span></pre>
393
+ </div><!-- module_weblinks-source -->
394
+
395
+ </div>
396
+
397
+
398
+
399
+
400
+ </div><!-- module_weblinks-method -->
401
+
402
+
403
+ <div id="method-i-modules" class="method-detail ">
404
+
405
+ <div class="method-heading">
406
+ <span class="method-name">modules</span><span
407
+ class="method-args">(duration=0, include_all_info=true)</span>
408
+ <span class="method-click-advice">click to toggle source</span>
409
+ </div>
410
+
411
+
412
+ <div class="method-description">
413
+
414
+
415
+
416
+
417
+
418
+ <div class="method-source-code" id="modules-source">
419
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 3</span>
420
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">modules</span>(<span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">include_all_info</span>=<span class="ruby-keyword">true</span>)
421
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Modules'</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>, <span class="ruby-identifier">includeallinfo</span><span class="ruby-operator">:</span> <span class="ruby-identifier">include_all_info</span>
422
+ <span class="ruby-keyword">end</span></pre>
423
+ </div><!-- modules-source -->
424
+
425
+ </div>
426
+
427
+
428
+
429
+
430
+ </div><!-- modules-method -->
431
+
432
+
433
+ <div id="method-i-modules_search" class="method-detail ">
434
+
435
+ <div class="method-heading">
436
+ <span class="method-name">modules_search</span><span
437
+ class="method-args">(search_parameters={}, duration=0, include_all_info=true)</span>
438
+ <span class="method-click-advice">click to toggle source</span>
439
+ </div>
440
+
441
+
442
+ <div class="method-description">
443
+
444
+
445
+
446
+
447
+
448
+ <div class="method-source-code" id="modules_search-source">
449
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 19</span>
450
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">modules_search</span>(<span class="ruby-identifier">search_parameters</span>={}, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">include_all_info</span>=<span class="ruby-keyword">true</span>)
451
+ <span class="ruby-comment"># Verbatim from API docs: AuthToken, ModuleCode, ModuleTitle, LecturerName, Department, Semester, AcadYear, ModNameExact,</span>
452
+ <span class="ruby-comment"># LecNameExact, tag are optional fields. But at least one must be supplied.</span>
453
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Modules_Search'</span>, <span class="ruby-identifier">search_parameters</span>.<span class="ruby-identifier">merge</span>({ <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>, <span class="ruby-identifier">includeallinfo</span><span class="ruby-operator">:</span> <span class="ruby-identifier">include_all_info</span> })
454
+ <span class="ruby-keyword">end</span></pre>
455
+ </div><!-- modules_search-source -->
456
+
457
+ </div>
458
+
459
+
460
+
461
+
462
+ </div><!-- modules_search-method -->
463
+
464
+
465
+ <div id="method-i-modules_staff" class="method-detail ">
466
+
467
+ <div class="method-heading">
468
+ <span class="method-name">modules_staff</span><span
469
+ class="method-args">(duration=0, include_all_info=true)</span>
470
+ <span class="method-click-advice">click to toggle source</span>
471
+ </div>
472
+
473
+
474
+ <div class="method-description">
475
+
476
+
477
+
478
+
479
+
480
+ <div class="method-source-code" id="modules_staff-source">
481
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 7</span>
482
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">modules_staff</span>(<span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">include_all_info</span>=<span class="ruby-keyword">true</span>)
483
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Modules_Staff'</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>, <span class="ruby-identifier">includeallinfo</span><span class="ruby-operator">:</span> <span class="ruby-identifier">include_all_info</span>
484
+ <span class="ruby-keyword">end</span></pre>
485
+ </div><!-- modules_staff-source -->
486
+
487
+ </div>
488
+
489
+
490
+
491
+
492
+ </div><!-- modules_staff-method -->
493
+
494
+
495
+ <div id="method-i-modules_student" class="method-detail ">
496
+
497
+ <div class="method-heading">
498
+ <span class="method-name">modules_student</span><span
499
+ class="method-args">(duration=0, include_all_info=true)</span>
500
+ <span class="method-click-advice">click to toggle source</span>
501
+ </div>
502
+
503
+
504
+ <div class="method-description">
505
+
506
+
507
+
508
+
509
+
510
+ <div class="method-source-code" id="modules_student-source">
511
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 11</span>
512
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">modules_student</span>(<span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">include_all_info</span>=<span class="ruby-keyword">true</span>)
513
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Modules_Student'</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>, <span class="ruby-identifier">includeallinfo</span><span class="ruby-operator">:</span> <span class="ruby-identifier">include_all_info</span>
514
+ <span class="ruby-keyword">end</span></pre>
515
+ </div><!-- modules_student-source -->
516
+
517
+ </div>
518
+
519
+
520
+
521
+
522
+ </div><!-- modules_student-method -->
523
+
524
+
525
+ <div id="method-i-modules_taken" class="method-detail ">
526
+
527
+ <div class="method-heading">
528
+ <span class="method-name">modules_taken</span><span
529
+ class="method-args">(student_id)</span>
530
+ <span class="method-click-advice">click to toggle source</span>
531
+ </div>
532
+
533
+
534
+ <div class="method-description">
535
+
536
+
537
+
538
+
539
+
540
+ <div class="method-source-code" id="modules_taken-source">
541
+ <pre><span class="ruby-comment"># File lib/IVLE/api/module.rb, line 49</span>
542
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">modules_taken</span>(<span class="ruby-identifier">student_id</span>)
543
+ <span class="ruby-identifier">api</span> <span class="ruby-string">'Modules_Taken'</span>, <span class="ruby-identifier">studentid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">student_id</span>
544
+ <span class="ruby-keyword">end</span></pre>
545
+ </div><!-- modules_taken-source -->
546
+
547
+ </div>
548
+
549
+
550
+
551
+
552
+ </div><!-- modules_taken-method -->
553
+
554
+
555
+ </section><!-- public-instance-method-details -->
556
+
557
+ </section><!-- 5Buntitled-5D -->
558
+
559
+ </div><!-- documentation -->
560
+
561
+
562
+ <footer id="validator-badges">
563
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
564
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
565
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
566
+ </footer>
567
+