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.
- 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,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::Announcement - 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/announcement.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-announcement_add">#announcement_add</a>
|
68
|
+
|
69
|
+
<li><a href="#method-i-announcement_add_log">#announcement_add_log</a>
|
70
|
+
|
71
|
+
<li><a href="#method-i-announcements">#announcements</a>
|
72
|
+
|
73
|
+
<li><a href="#method-i-announcements_unread">#announcements_unread</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::Announcement</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-announcement_add" class="method-detail ">
|
178
|
+
|
179
|
+
<div class="method-heading">
|
180
|
+
<span class="method-name">announcement_add</span><span
|
181
|
+
class="method-args">(course_id, ann_title, ann_message, send_email)</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="announcement_add-source">
|
193
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/announcement.rb, line 15</span>
|
194
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">announcement_add</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">ann_title</span>, <span class="ruby-identifier">ann_message</span>, <span class="ruby-identifier">send_email</span>)
|
195
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Announcement_Add_JSON'</span>, <span class="ruby-identifier">courseid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">anntitle</span><span class="ruby-operator">:</span> <span class="ruby-identifier">ann_title</span>, <span class="ruby-identifier">annmessage</span><span class="ruby-operator">:</span> <span class="ruby-identifier">ann_message</span>, <span class="ruby-identifier">sendemail</span><span class="ruby-operator">:</span> <span class="ruby-identifier">send_email</span>
|
196
|
+
<span class="ruby-keyword">end</span></pre>
|
197
|
+
</div><!-- announcement_add-source -->
|
198
|
+
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
</div><!-- announcement_add-method -->
|
205
|
+
|
206
|
+
|
207
|
+
<div id="method-i-announcement_add_log" class="method-detail ">
|
208
|
+
|
209
|
+
<div class="method-heading">
|
210
|
+
<span class="method-name">announcement_add_log</span><span
|
211
|
+
class="method-args">(ann_event_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="announcement_add_log-source">
|
223
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/announcement.rb, line 11</span>
|
224
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">announcement_add_log</span>(<span class="ruby-identifier">ann_event_id</span>)
|
225
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Announcement_AddLog_JSON'</span>, <span class="ruby-identifier">anneventid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">ann_event_id</span>
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div><!-- announcement_add_log-source -->
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div><!-- announcement_add_log-method -->
|
235
|
+
|
236
|
+
|
237
|
+
<div id="method-i-announcements" class="method-detail ">
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<span class="method-name">announcements</span><span
|
241
|
+
class="method-args">(course_id, duration=0, title_only=false)</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="announcements-source">
|
253
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/announcement.rb, line 3</span>
|
254
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">announcements</span>(<span class="ruby-identifier">course_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">title_only</span>=<span class="ruby-keyword">false</span>)
|
255
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Announcements'</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>, <span class="ruby-identifier">titleonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title_only</span>
|
256
|
+
<span class="ruby-keyword">end</span></pre>
|
257
|
+
</div><!-- announcements-source -->
|
258
|
+
|
259
|
+
</div>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
</div><!-- announcements-method -->
|
265
|
+
|
266
|
+
|
267
|
+
<div id="method-i-announcements_unread" class="method-detail ">
|
268
|
+
|
269
|
+
<div class="method-heading">
|
270
|
+
<span class="method-name">announcements_unread</span><span
|
271
|
+
class="method-args">(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="announcements_unread-source">
|
283
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/announcement.rb, line 7</span>
|
284
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">announcements_unread</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">'Announcements_Unread'</span>
|
286
|
+
<span class="ruby-keyword">end</span></pre>
|
287
|
+
</div><!-- announcements_unread-source -->
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
</div><!-- announcements_unread-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
|
+
|
@@ -0,0 +1,1305 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module IVLE::Community - 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/community.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-communities">#communities</a>
|
68
|
+
|
69
|
+
<li><a href="#method-i-community">#community</a>
|
70
|
+
|
71
|
+
<li><a href="#method-i-community_add_member">#community_add_member</a>
|
72
|
+
|
73
|
+
<li><a href="#method-i-community_announcements">#community_announcements</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-community_categories">#community_categories</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-community_create">#community_create</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-community_create_comment">#community_create_comment</a>
|
80
|
+
|
81
|
+
<li><a href="#method-i-community_create_task">#community_create_task</a>
|
82
|
+
|
83
|
+
<li><a href="#method-i-community_delete_comment">#community_delete_comment</a>
|
84
|
+
|
85
|
+
<li><a href="#method-i-community_delete_member">#community_delete_member</a>
|
86
|
+
|
87
|
+
<li><a href="#method-i-community_delete_task">#community_delete_task</a>
|
88
|
+
|
89
|
+
<li><a href="#method-i-community_forum_add_log_by_post">#community_forum_add_log_by_post</a>
|
90
|
+
|
91
|
+
<li><a href="#method-i-community_forum_headings">#community_forum_headings</a>
|
92
|
+
|
93
|
+
<li><a href="#method-i-community_forum_new_topic">#community_forum_new_topic</a>
|
94
|
+
|
95
|
+
<li><a href="#method-i-community_forum_posts">#community_forum_posts</a>
|
96
|
+
|
97
|
+
<li><a href="#method-i-community_forum_reply_post">#community_forum_reply_post</a>
|
98
|
+
|
99
|
+
<li><a href="#method-i-community_get_all_comments">#community_get_all_comments</a>
|
100
|
+
|
101
|
+
<li><a href="#method-i-community_get_all_tasks">#community_get_all_tasks</a>
|
102
|
+
|
103
|
+
<li><a href="#method-i-community_get_comment">#community_get_comment</a>
|
104
|
+
|
105
|
+
<li><a href="#method-i-community_get_sub_task">#community_get_sub_task</a>
|
106
|
+
|
107
|
+
<li><a href="#method-i-community_get_task">#community_get_task</a>
|
108
|
+
|
109
|
+
<li><a href="#method-i-community_join">#community_join</a>
|
110
|
+
|
111
|
+
<li><a href="#method-i-community_members">#community_members</a>
|
112
|
+
|
113
|
+
<li><a href="#method-i-community_quit">#community_quit</a>
|
114
|
+
|
115
|
+
<li><a href="#method-i-community_search">#community_search</a>
|
116
|
+
|
117
|
+
<li><a href="#method-i-community_tags">#community_tags</a>
|
118
|
+
|
119
|
+
<li><a href="#method-i-community_update">#community_update</a>
|
120
|
+
|
121
|
+
<li><a href="#method-i-community_update_comment">#community_update_comment</a>
|
122
|
+
|
123
|
+
<li><a href="#method-i-community_update_member">#community_update_member</a>
|
124
|
+
|
125
|
+
<li><a href="#method-i-community_update_task">#community_update_task</a>
|
126
|
+
|
127
|
+
<li><a href="#method-i-community_weblinks">#community_weblinks</a>
|
128
|
+
|
129
|
+
<li><a href="#method-i-community_workbin_files">#community_workbin_files</a>
|
130
|
+
|
131
|
+
<li><a href="#method-i-community_workbin_folders">#community_workbin_folders</a>
|
132
|
+
|
133
|
+
<li><a href="#method-i-download_file">#download_file</a>
|
134
|
+
|
135
|
+
</ul>
|
136
|
+
</nav>
|
137
|
+
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div id="project-metadata">
|
141
|
+
<nav id="fileindex-section" class="section project-section">
|
142
|
+
<h3 class="section-header">Pages</h3>
|
143
|
+
|
144
|
+
<ul>
|
145
|
+
|
146
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a>
|
147
|
+
|
148
|
+
<li class="file"><a href="../Rakefile.html">Rakefile</a>
|
149
|
+
|
150
|
+
</ul>
|
151
|
+
</nav>
|
152
|
+
|
153
|
+
<nav id="classindex-section" class="section project-section">
|
154
|
+
<h3 class="section-header">Class and Module Index</h3>
|
155
|
+
|
156
|
+
<ul class="link-list">
|
157
|
+
|
158
|
+
<li><a href="../IVLE.html">IVLE</a>
|
159
|
+
|
160
|
+
<li><a href="../IVLE/API.html">IVLE::API</a>
|
161
|
+
|
162
|
+
<li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
|
163
|
+
|
164
|
+
<li><a href="../IVLE/Community.html">IVLE::Community</a>
|
165
|
+
|
166
|
+
<li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
|
167
|
+
|
168
|
+
<li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
|
169
|
+
|
170
|
+
<li><a href="../IVLE/Forum.html">IVLE::Forum</a>
|
171
|
+
|
172
|
+
<li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
|
173
|
+
|
174
|
+
<li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
|
175
|
+
|
176
|
+
<li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
|
177
|
+
|
178
|
+
<li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
|
179
|
+
|
180
|
+
<li><a href="../IVLE/Login.html">IVLE::Login</a>
|
181
|
+
|
182
|
+
<li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
|
183
|
+
|
184
|
+
<li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
|
185
|
+
|
186
|
+
<li><a href="../IVLE/Poll.html">IVLE::Poll</a>
|
187
|
+
|
188
|
+
<li><a href="../IVLE/Profile.html">IVLE::Profile</a>
|
189
|
+
|
190
|
+
<li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
|
191
|
+
|
192
|
+
<li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
|
193
|
+
|
194
|
+
<li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
|
195
|
+
|
196
|
+
<li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
|
197
|
+
|
198
|
+
<li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
|
199
|
+
|
200
|
+
<li><a href="../Fixtures.html">Fixtures</a>
|
201
|
+
|
202
|
+
<li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
|
203
|
+
|
204
|
+
<li><a href="../Object.html">Object</a>
|
205
|
+
|
206
|
+
</ul>
|
207
|
+
</nav>
|
208
|
+
|
209
|
+
</div>
|
210
|
+
</nav>
|
211
|
+
|
212
|
+
<div id="documentation">
|
213
|
+
<h1 class="module">module IVLE::Community</h1>
|
214
|
+
|
215
|
+
<div id="description" class="description">
|
216
|
+
|
217
|
+
</div><!-- description -->
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<!-- Methods -->
|
232
|
+
|
233
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
234
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
235
|
+
|
236
|
+
|
237
|
+
<div id="method-i-communities" class="method-detail ">
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<span class="method-name">communities</span><span
|
241
|
+
class="method-args">(duration=0)</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="communities-source">
|
253
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 3</span>
|
254
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">communities</span>(<span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
255
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Communities'</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
256
|
+
<span class="ruby-keyword">end</span></pre>
|
257
|
+
</div><!-- communities-source -->
|
258
|
+
|
259
|
+
</div>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
</div><!-- communities-method -->
|
265
|
+
|
266
|
+
|
267
|
+
<div id="method-i-community" class="method-detail ">
|
268
|
+
|
269
|
+
<div class="method-heading">
|
270
|
+
<span class="method-name">community</span><span
|
271
|
+
class="method-args">(com_id, duration=0)</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="community-source">
|
283
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 20</span>
|
284
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
285
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
286
|
+
<span class="ruby-keyword">end</span></pre>
|
287
|
+
</div><!-- community-source -->
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
</div><!-- community-method -->
|
295
|
+
|
296
|
+
|
297
|
+
<div id="method-i-community_add_member" class="method-detail ">
|
298
|
+
|
299
|
+
<div class="method-heading">
|
300
|
+
<span class="method-name">community_add_member</span><span
|
301
|
+
class="method-args">(com_id, member_id, member_type)</span>
|
302
|
+
<span class="method-click-advice">click to toggle source</span>
|
303
|
+
</div>
|
304
|
+
|
305
|
+
|
306
|
+
<div class="method-description">
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
<div class="method-source-code" id="community_add_member-source">
|
313
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 72</span>
|
314
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_add_member</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">member_id</span>, <span class="ruby-identifier">member_type</span>)
|
315
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_AddMember_JSON'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">memberid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">member_id</span>, <span class="ruby-identifier">membertype</span><span class="ruby-operator">:</span> <span class="ruby-identifier">member_type</span>
|
316
|
+
<span class="ruby-keyword">end</span></pre>
|
317
|
+
</div><!-- community_add_member-source -->
|
318
|
+
|
319
|
+
</div>
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
</div><!-- community_add_member-method -->
|
325
|
+
|
326
|
+
|
327
|
+
<div id="method-i-community_announcements" class="method-detail ">
|
328
|
+
|
329
|
+
<div class="method-heading">
|
330
|
+
<span class="method-name">community_announcements</span><span
|
331
|
+
class="method-args">(com_id, duration=0)</span>
|
332
|
+
<span class="method-click-advice">click to toggle source</span>
|
333
|
+
</div>
|
334
|
+
|
335
|
+
|
336
|
+
<div class="method-description">
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<div class="method-source-code" id="community_announcements-source">
|
343
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 28</span>
|
344
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_announcements</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
345
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityAnnouncements'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
346
|
+
<span class="ruby-keyword">end</span></pre>
|
347
|
+
</div><!-- community_announcements-source -->
|
348
|
+
|
349
|
+
</div>
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
</div><!-- community_announcements-method -->
|
355
|
+
|
356
|
+
|
357
|
+
<div id="method-i-community_categories" class="method-detail ">
|
358
|
+
|
359
|
+
<div class="method-heading">
|
360
|
+
<span class="method-name">community_categories</span><span
|
361
|
+
class="method-args">(active_only=false)</span>
|
362
|
+
<span class="method-click-advice">click to toggle source</span>
|
363
|
+
</div>
|
364
|
+
|
365
|
+
|
366
|
+
<div class="method-description">
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
<div class="method-source-code" id="community_categories-source">
|
373
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 11</span>
|
374
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_categories</span>(<span class="ruby-identifier">active_only</span>=<span class="ruby-keyword">false</span>)
|
375
|
+
<span class="ruby-comment"># Just look at this snake_CamelCase consistency!</span>
|
376
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityCategories'</span>, <span class="ruby-identifier">activeonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">active_only</span>
|
377
|
+
<span class="ruby-keyword">end</span></pre>
|
378
|
+
</div><!-- community_categories-source -->
|
379
|
+
|
380
|
+
</div>
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
</div><!-- community_categories-method -->
|
386
|
+
|
387
|
+
|
388
|
+
<div id="method-i-community_create" class="method-detail ">
|
389
|
+
|
390
|
+
<div class="method-heading">
|
391
|
+
<span class="method-name">community_create</span><span
|
392
|
+
class="method-args">(title, description, access_type, default_forum, default_workbin, category_id, tags)</span>
|
393
|
+
<span class="method-click-advice">click to toggle source</span>
|
394
|
+
</div>
|
395
|
+
|
396
|
+
|
397
|
+
<div class="method-description">
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
<div class="method-source-code" id="community_create-source">
|
404
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 83</span>
|
405
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_create</span>(<span class="ruby-identifier">title</span>, <span class="ruby-identifier">description</span>, <span class="ruby-identifier">access_type</span>, <span class="ruby-identifier">default_forum</span>, <span class="ruby-identifier">default_workbin</span>, <span class="ruby-identifier">category_id</span>, <span class="ruby-identifier">tags</span>)
|
406
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_Create_JSON'</span>, {
|
407
|
+
<span class="ruby-identifier">title</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title</span>,
|
408
|
+
<span class="ruby-identifier">accesstype</span><span class="ruby-operator">:</span> <span class="ruby-identifier">access_type</span>,
|
409
|
+
<span class="ruby-identifier">defaultforum</span><span class="ruby-operator">:</span> <span class="ruby-identifier">default_forum</span>,
|
410
|
+
<span class="ruby-identifier">defaultworkbin</span><span class="ruby-operator">:</span> <span class="ruby-identifier">default_workbin</span>,
|
411
|
+
<span class="ruby-identifier">categoryid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">category_id</span>,
|
412
|
+
<span class="ruby-identifier">tags</span><span class="ruby-operator">:</span> <span class="ruby-identifier">tags</span>
|
413
|
+
}
|
414
|
+
<span class="ruby-keyword">end</span></pre>
|
415
|
+
</div><!-- community_create-source -->
|
416
|
+
|
417
|
+
</div>
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
</div><!-- community_create-method -->
|
423
|
+
|
424
|
+
|
425
|
+
<div id="method-i-community_create_comment" class="method-detail ">
|
426
|
+
|
427
|
+
<div class="method-heading">
|
428
|
+
<span class="method-name">community_create_comment</span><span
|
429
|
+
class="method-args">(task_id, comment)</span>
|
430
|
+
<span class="method-click-advice">click to toggle source</span>
|
431
|
+
</div>
|
432
|
+
|
433
|
+
|
434
|
+
<div class="method-description">
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
<div class="method-source-code" id="community_create_comment-source">
|
441
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 154</span>
|
442
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_create_comment</span>(<span class="ruby-identifier">task_id</span>, <span class="ruby-identifier">comment</span>)
|
443
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_CreateComment_JSON'</span>, <span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_id</span>, <span class="ruby-identifier">comment</span><span class="ruby-operator">:</span> <span class="ruby-identifier">comment</span>
|
444
|
+
<span class="ruby-keyword">end</span></pre>
|
445
|
+
</div><!-- community_create_comment-source -->
|
446
|
+
|
447
|
+
</div>
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
</div><!-- community_create_comment-method -->
|
453
|
+
|
454
|
+
|
455
|
+
<div id="method-i-community_create_task" class="method-detail ">
|
456
|
+
|
457
|
+
<div class="method-heading">
|
458
|
+
<span class="method-name">community_create_task</span><span
|
459
|
+
class="method-args">(com_id, task_name, task_description, parent_task_id, task_status, task_priority, task_due_date)</span>
|
460
|
+
<span class="method-click-advice">click to toggle source</span>
|
461
|
+
</div>
|
462
|
+
|
463
|
+
|
464
|
+
<div class="method-description">
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
<div class="method-source-code" id="community_create_task-source">
|
471
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 126</span>
|
472
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_create_task</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">task_name</span>, <span class="ruby-identifier">task_description</span>, <span class="ruby-identifier">parent_task_id</span>, <span class="ruby-identifier">task_status</span>, <span class="ruby-identifier">task_priority</span>, <span class="ruby-identifier">task_due_date</span>)
|
473
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_CreateTask_JSON'</span>, {
|
474
|
+
<span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>,
|
475
|
+
<span class="ruby-identifier">taskname</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_name</span>,
|
476
|
+
<span class="ruby-identifier">taskdescription</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_description</span>,
|
477
|
+
<span class="ruby-identifier">parenttaskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">parent_task_id</span>,
|
478
|
+
<span class="ruby-identifier">taskstatus</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_status</span>,
|
479
|
+
<span class="ruby-identifier">taskpriority</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_priority</span>,
|
480
|
+
<span class="ruby-identifier">taskduedate</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_due_date</span>
|
481
|
+
}
|
482
|
+
<span class="ruby-keyword">end</span></pre>
|
483
|
+
</div><!-- community_create_task-source -->
|
484
|
+
|
485
|
+
</div>
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
</div><!-- community_create_task-method -->
|
491
|
+
|
492
|
+
|
493
|
+
<div id="method-i-community_delete_comment" class="method-detail ">
|
494
|
+
|
495
|
+
<div class="method-heading">
|
496
|
+
<span class="method-name">community_delete_comment</span><span
|
497
|
+
class="method-args">(comment_id)</span>
|
498
|
+
<span class="method-click-advice">click to toggle source</span>
|
499
|
+
</div>
|
500
|
+
|
501
|
+
|
502
|
+
<div class="method-description">
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
<div class="method-source-code" id="community_delete_comment-source">
|
509
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 162</span>
|
510
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_delete_comment</span>(<span class="ruby-identifier">comment_id</span>)
|
511
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_DeleteComment_JSON'</span>, <span class="ruby-identifier">commentid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">comment_id</span>
|
512
|
+
<span class="ruby-keyword">end</span></pre>
|
513
|
+
</div><!-- community_delete_comment-source -->
|
514
|
+
|
515
|
+
</div>
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
</div><!-- community_delete_comment-method -->
|
521
|
+
|
522
|
+
|
523
|
+
<div id="method-i-community_delete_member" class="method-detail ">
|
524
|
+
|
525
|
+
<div class="method-heading">
|
526
|
+
<span class="method-name">community_delete_member</span><span
|
527
|
+
class="method-args">(com_id, member_id)</span>
|
528
|
+
<span class="method-click-advice">click to toggle source</span>
|
529
|
+
</div>
|
530
|
+
|
531
|
+
|
532
|
+
<div class="method-description">
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
<div class="method-source-code" id="community_delete_member-source">
|
539
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 76</span>
|
540
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_delete_member</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">member_id</span>)
|
541
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_DeleteMember_JSON'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">memberid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">member_id</span>
|
542
|
+
<span class="ruby-keyword">end</span></pre>
|
543
|
+
</div><!-- community_delete_member-source -->
|
544
|
+
|
545
|
+
</div>
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
</div><!-- community_delete_member-method -->
|
551
|
+
|
552
|
+
|
553
|
+
<div id="method-i-community_delete_task" class="method-detail ">
|
554
|
+
|
555
|
+
<div class="method-heading">
|
556
|
+
<span class="method-name">community_delete_task</span><span
|
557
|
+
class="method-args">(task_id)</span>
|
558
|
+
<span class="method-click-advice">click to toggle source</span>
|
559
|
+
</div>
|
560
|
+
|
561
|
+
|
562
|
+
<div class="method-description">
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
<div class="method-source-code" id="community_delete_task-source">
|
569
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 150</span>
|
570
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_delete_task</span>(<span class="ruby-identifier">task_id</span>)
|
571
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_DeleteTask_JSON'</span>, <span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_id</span>
|
572
|
+
<span class="ruby-keyword">end</span></pre>
|
573
|
+
</div><!-- community_delete_task-source -->
|
574
|
+
|
575
|
+
</div>
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
</div><!-- community_delete_task-method -->
|
581
|
+
|
582
|
+
|
583
|
+
<div id="method-i-community_forum_add_log_by_post" class="method-detail ">
|
584
|
+
|
585
|
+
<div class="method-heading">
|
586
|
+
<span class="method-name">community_forum_add_log_by_post</span><span
|
587
|
+
class="method-args">(post_id)</span>
|
588
|
+
<span class="method-click-advice">click to toggle source</span>
|
589
|
+
</div>
|
590
|
+
|
591
|
+
|
592
|
+
<div class="method-description">
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
<div class="method-source-code" id="community_forum_add_log_by_post-source">
|
599
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 48</span>
|
600
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_forum_add_log_by_post</span>(<span class="ruby-identifier">post_id</span>)
|
601
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'CommunityForum_AddLogByPost_JSON'</span>, <span class="ruby-identifier">postid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">post_id</span>
|
602
|
+
<span class="ruby-keyword">end</span></pre>
|
603
|
+
</div><!-- community_forum_add_log_by_post-source -->
|
604
|
+
|
605
|
+
</div>
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
</div><!-- community_forum_add_log_by_post-method -->
|
611
|
+
|
612
|
+
|
613
|
+
<div id="method-i-community_forum_headings" class="method-detail ">
|
614
|
+
|
615
|
+
<div class="method-heading">
|
616
|
+
<span class="method-name">community_forum_headings</span><span
|
617
|
+
class="method-args">(com_id, including_posts=true, duration=0)</span>
|
618
|
+
<span class="method-click-advice">click to toggle source</span>
|
619
|
+
</div>
|
620
|
+
|
621
|
+
|
622
|
+
<div class="method-description">
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
<div class="method-source-code" id="community_forum_headings-source">
|
629
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 40</span>
|
630
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_forum_headings</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">including_posts</span>=<span class="ruby-keyword">true</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
631
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityForumHeadings'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">includingposts</span><span class="ruby-operator">:</span> <span class="ruby-identifier">including_posts</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
632
|
+
<span class="ruby-keyword">end</span></pre>
|
633
|
+
</div><!-- community_forum_headings-source -->
|
634
|
+
|
635
|
+
</div>
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
</div><!-- community_forum_headings-method -->
|
641
|
+
|
642
|
+
|
643
|
+
<div id="method-i-community_forum_new_topic" class="method-detail ">
|
644
|
+
|
645
|
+
<div class="method-heading">
|
646
|
+
<span class="method-name">community_forum_new_topic</span><span
|
647
|
+
class="method-args">(heading_id, title, message)</span>
|
648
|
+
<span class="method-click-advice">click to toggle source</span>
|
649
|
+
</div>
|
650
|
+
|
651
|
+
|
652
|
+
<div class="method-description">
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
<div class="method-source-code" id="community_forum_new_topic-source">
|
659
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 52</span>
|
660
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_forum_new_topic</span>(<span class="ruby-identifier">heading_id</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">message</span>)
|
661
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'CommunityForum_NewTopic_JSON'</span>, <span class="ruby-identifier">headingid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">heading_id</span>, <span class="ruby-identifier">message</span><span class="ruby-operator">:</span> <span class="ruby-identifier">message</span>
|
662
|
+
<span class="ruby-keyword">end</span></pre>
|
663
|
+
</div><!-- community_forum_new_topic-source -->
|
664
|
+
|
665
|
+
</div>
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
|
670
|
+
</div><!-- community_forum_new_topic-method -->
|
671
|
+
|
672
|
+
|
673
|
+
<div id="method-i-community_forum_posts" class="method-detail ">
|
674
|
+
|
675
|
+
<div class="method-heading">
|
676
|
+
<span class="method-name">community_forum_posts</span><span
|
677
|
+
class="method-args">(heading_id, duration=0)</span>
|
678
|
+
<span class="method-click-advice">click to toggle source</span>
|
679
|
+
</div>
|
680
|
+
|
681
|
+
|
682
|
+
<div class="method-description">
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
<div class="method-source-code" id="community_forum_posts-source">
|
689
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 44</span>
|
690
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_forum_posts</span>(<span class="ruby-identifier">heading_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
691
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityForumPosts'</span>, <span class="ruby-identifier">headingid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">heading_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
692
|
+
<span class="ruby-keyword">end</span></pre>
|
693
|
+
</div><!-- community_forum_posts-source -->
|
694
|
+
|
695
|
+
</div>
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
</div><!-- community_forum_posts-method -->
|
701
|
+
|
702
|
+
|
703
|
+
<div id="method-i-community_forum_reply_post" class="method-detail ">
|
704
|
+
|
705
|
+
<div class="method-heading">
|
706
|
+
<span class="method-name">community_forum_reply_post</span><span
|
707
|
+
class="method-args">(post_id, title, message)</span>
|
708
|
+
<span class="method-click-advice">click to toggle source</span>
|
709
|
+
</div>
|
710
|
+
|
711
|
+
|
712
|
+
<div class="method-description">
|
713
|
+
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
<div class="method-source-code" id="community_forum_reply_post-source">
|
719
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 56</span>
|
720
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_forum_reply_post</span>(<span class="ruby-identifier">post_id</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">message</span>)
|
721
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'CommunityForum_ReplyPost_JSON'</span>, <span class="ruby-identifier">postid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">post_id</span>, <span class="ruby-identifier">title</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title</span>, <span class="ruby-identifier">message</span><span class="ruby-operator">:</span> <span class="ruby-identifier">message</span>
|
722
|
+
<span class="ruby-keyword">end</span></pre>
|
723
|
+
</div><!-- community_forum_reply_post-source -->
|
724
|
+
|
725
|
+
</div>
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
</div><!-- community_forum_reply_post-method -->
|
731
|
+
|
732
|
+
|
733
|
+
<div id="method-i-community_get_all_comments" class="method-detail ">
|
734
|
+
|
735
|
+
<div class="method-heading">
|
736
|
+
<span class="method-name">community_get_all_comments</span><span
|
737
|
+
class="method-args">(task_id)</span>
|
738
|
+
<span class="method-click-advice">click to toggle source</span>
|
739
|
+
</div>
|
740
|
+
|
741
|
+
|
742
|
+
<div class="method-description">
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
<div class="method-source-code" id="community_get_all_comments-source">
|
749
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 170</span>
|
750
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_get_all_comments</span>(<span class="ruby-identifier">task_id</span>)
|
751
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_GetAllComments'</span>, <span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_id</span>
|
752
|
+
<span class="ruby-keyword">end</span></pre>
|
753
|
+
</div><!-- community_get_all_comments-source -->
|
754
|
+
|
755
|
+
</div>
|
756
|
+
|
757
|
+
|
758
|
+
|
759
|
+
|
760
|
+
</div><!-- community_get_all_comments-method -->
|
761
|
+
|
762
|
+
|
763
|
+
<div id="method-i-community_get_all_tasks" class="method-detail ">
|
764
|
+
|
765
|
+
<div class="method-heading">
|
766
|
+
<span class="method-name">community_get_all_tasks</span><span
|
767
|
+
class="method-args">(com_id)</span>
|
768
|
+
<span class="method-click-advice">click to toggle source</span>
|
769
|
+
</div>
|
770
|
+
|
771
|
+
|
772
|
+
<div class="method-description">
|
773
|
+
|
774
|
+
|
775
|
+
|
776
|
+
|
777
|
+
|
778
|
+
<div class="method-source-code" id="community_get_all_tasks-source">
|
779
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 118</span>
|
780
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_get_all_tasks</span>(<span class="ruby-identifier">com_id</span>)
|
781
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_GetAllTasks'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>
|
782
|
+
<span class="ruby-keyword">end</span></pre>
|
783
|
+
</div><!-- community_get_all_tasks-source -->
|
784
|
+
|
785
|
+
</div>
|
786
|
+
|
787
|
+
|
788
|
+
|
789
|
+
|
790
|
+
</div><!-- community_get_all_tasks-method -->
|
791
|
+
|
792
|
+
|
793
|
+
<div id="method-i-community_get_comment" class="method-detail ">
|
794
|
+
|
795
|
+
<div class="method-heading">
|
796
|
+
<span class="method-name">community_get_comment</span><span
|
797
|
+
class="method-args">(comment_id)</span>
|
798
|
+
<span class="method-click-advice">click to toggle source</span>
|
799
|
+
</div>
|
800
|
+
|
801
|
+
|
802
|
+
<div class="method-description">
|
803
|
+
|
804
|
+
|
805
|
+
|
806
|
+
|
807
|
+
|
808
|
+
<div class="method-source-code" id="community_get_comment-source">
|
809
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 166</span>
|
810
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_get_comment</span>(<span class="ruby-identifier">comment_id</span>)
|
811
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_GetComment'</span>, <span class="ruby-identifier">commentid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">comment_id</span>
|
812
|
+
<span class="ruby-keyword">end</span></pre>
|
813
|
+
</div><!-- community_get_comment-source -->
|
814
|
+
|
815
|
+
</div>
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
|
820
|
+
</div><!-- community_get_comment-method -->
|
821
|
+
|
822
|
+
|
823
|
+
<div id="method-i-community_get_sub_task" class="method-detail ">
|
824
|
+
|
825
|
+
<div class="method-heading">
|
826
|
+
<span class="method-name">community_get_sub_task</span><span
|
827
|
+
class="method-args">(task_id)</span>
|
828
|
+
<span class="method-click-advice">click to toggle source</span>
|
829
|
+
</div>
|
830
|
+
|
831
|
+
|
832
|
+
<div class="method-description">
|
833
|
+
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
<div class="method-source-code" id="community_get_sub_task-source">
|
839
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 122</span>
|
840
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_get_sub_task</span>(<span class="ruby-identifier">task_id</span>)
|
841
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_GetSubTask'</span>, <span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_id</span>
|
842
|
+
<span class="ruby-keyword">end</span></pre>
|
843
|
+
</div><!-- community_get_sub_task-source -->
|
844
|
+
|
845
|
+
</div>
|
846
|
+
|
847
|
+
|
848
|
+
|
849
|
+
|
850
|
+
</div><!-- community_get_sub_task-method -->
|
851
|
+
|
852
|
+
|
853
|
+
<div id="method-i-community_get_task" class="method-detail ">
|
854
|
+
|
855
|
+
<div class="method-heading">
|
856
|
+
<span class="method-name">community_get_task</span><span
|
857
|
+
class="method-args">(task_id)</span>
|
858
|
+
<span class="method-click-advice">click to toggle source</span>
|
859
|
+
</div>
|
860
|
+
|
861
|
+
|
862
|
+
<div class="method-description">
|
863
|
+
|
864
|
+
|
865
|
+
|
866
|
+
|
867
|
+
|
868
|
+
<div class="method-source-code" id="community_get_task-source">
|
869
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 114</span>
|
870
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_get_task</span>(<span class="ruby-identifier">task_id</span>)
|
871
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_GetTask'</span>, <span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_id</span>
|
872
|
+
<span class="ruby-keyword">end</span></pre>
|
873
|
+
</div><!-- community_get_task-source -->
|
874
|
+
|
875
|
+
</div>
|
876
|
+
|
877
|
+
|
878
|
+
|
879
|
+
|
880
|
+
</div><!-- community_get_task-method -->
|
881
|
+
|
882
|
+
|
883
|
+
<div id="method-i-community_join" class="method-detail ">
|
884
|
+
|
885
|
+
<div class="method-heading">
|
886
|
+
<span class="method-name">community_join</span><span
|
887
|
+
class="method-args">(com_id)</span>
|
888
|
+
<span class="method-click-advice">click to toggle source</span>
|
889
|
+
</div>
|
890
|
+
|
891
|
+
|
892
|
+
<div class="method-description">
|
893
|
+
|
894
|
+
|
895
|
+
|
896
|
+
|
897
|
+
|
898
|
+
<div class="method-source-code" id="community_join-source">
|
899
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 64</span>
|
900
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_join</span>(<span class="ruby-identifier">com_id</span>)
|
901
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_Join_JSON'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>
|
902
|
+
<span class="ruby-keyword">end</span></pre>
|
903
|
+
</div><!-- community_join-source -->
|
904
|
+
|
905
|
+
</div>
|
906
|
+
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
</div><!-- community_join-method -->
|
911
|
+
|
912
|
+
|
913
|
+
<div id="method-i-community_members" class="method-detail ">
|
914
|
+
|
915
|
+
<div class="method-heading">
|
916
|
+
<span class="method-name">community_members</span><span
|
917
|
+
class="method-args">(com_id)</span>
|
918
|
+
<span class="method-click-advice">click to toggle source</span>
|
919
|
+
</div>
|
920
|
+
|
921
|
+
|
922
|
+
<div class="method-description">
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
|
927
|
+
|
928
|
+
<div class="method-source-code" id="community_members-source">
|
929
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 24</span>
|
930
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_members</span>(<span class="ruby-identifier">com_id</span>)
|
931
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityMembers'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>
|
932
|
+
<span class="ruby-keyword">end</span></pre>
|
933
|
+
</div><!-- community_members-source -->
|
934
|
+
|
935
|
+
</div>
|
936
|
+
|
937
|
+
|
938
|
+
|
939
|
+
|
940
|
+
</div><!-- community_members-method -->
|
941
|
+
|
942
|
+
|
943
|
+
<div id="method-i-community_quit" class="method-detail ">
|
944
|
+
|
945
|
+
<div class="method-heading">
|
946
|
+
<span class="method-name">community_quit</span><span
|
947
|
+
class="method-args">(com_id)</span>
|
948
|
+
<span class="method-click-advice">click to toggle source</span>
|
949
|
+
</div>
|
950
|
+
|
951
|
+
|
952
|
+
<div class="method-description">
|
953
|
+
|
954
|
+
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
<div class="method-source-code" id="community_quit-source">
|
959
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 68</span>
|
960
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_quit</span>(<span class="ruby-identifier">com_id</span>)
|
961
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_Quit_JSON'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>
|
962
|
+
<span class="ruby-keyword">end</span></pre>
|
963
|
+
</div><!-- community_quit-source -->
|
964
|
+
|
965
|
+
</div>
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
|
970
|
+
</div><!-- community_quit-method -->
|
971
|
+
|
972
|
+
|
973
|
+
<div id="method-i-community_search" class="method-detail ">
|
974
|
+
|
975
|
+
<div class="method-heading">
|
976
|
+
<span class="method-name">community_search</span><span
|
977
|
+
class="method-args">(search_type, keyword, active_only=false, title_only=false)</span>
|
978
|
+
<span class="method-click-advice">click to toggle source</span>
|
979
|
+
</div>
|
980
|
+
|
981
|
+
|
982
|
+
<div class="method-description">
|
983
|
+
|
984
|
+
|
985
|
+
|
986
|
+
|
987
|
+
|
988
|
+
<div class="method-source-code" id="community_search-source">
|
989
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 7</span>
|
990
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_search</span>(<span class="ruby-identifier">search_type</span>, <span class="ruby-identifier">keyword</span>, <span class="ruby-identifier">active_only</span>=<span class="ruby-keyword">false</span>, <span class="ruby-identifier">title_only</span>=<span class="ruby-keyword">false</span>)
|
991
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'Community_Search'</span>, <span class="ruby-identifier">searchtype</span><span class="ruby-operator">:</span> <span class="ruby-identifier">search_type</span>, <span class="ruby-identifier">keyword</span><span class="ruby-operator">:</span> <span class="ruby-identifier">keyword</span>, <span class="ruby-identifier">activeonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">active_only</span>, <span class="ruby-identifier">titleonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title_only</span>
|
992
|
+
<span class="ruby-keyword">end</span></pre>
|
993
|
+
</div><!-- community_search-source -->
|
994
|
+
|
995
|
+
</div>
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
|
1000
|
+
</div><!-- community_search-method -->
|
1001
|
+
|
1002
|
+
|
1003
|
+
<div id="method-i-community_tags" class="method-detail ">
|
1004
|
+
|
1005
|
+
<div class="method-heading">
|
1006
|
+
<span class="method-name">community_tags</span><span
|
1007
|
+
class="method-args">(active_only=false)</span>
|
1008
|
+
<span class="method-click-advice">click to toggle source</span>
|
1009
|
+
</div>
|
1010
|
+
|
1011
|
+
|
1012
|
+
<div class="method-description">
|
1013
|
+
|
1014
|
+
|
1015
|
+
|
1016
|
+
|
1017
|
+
|
1018
|
+
<div class="method-source-code" id="community_tags-source">
|
1019
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 16</span>
|
1020
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_tags</span>(<span class="ruby-identifier">active_only</span>=<span class="ruby-keyword">false</span>)
|
1021
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityTags'</span>, <span class="ruby-identifier">activeonly</span><span class="ruby-operator">:</span> <span class="ruby-identifier">active_only</span>
|
1022
|
+
<span class="ruby-keyword">end</span></pre>
|
1023
|
+
</div><!-- community_tags-source -->
|
1024
|
+
|
1025
|
+
</div>
|
1026
|
+
|
1027
|
+
|
1028
|
+
|
1029
|
+
|
1030
|
+
</div><!-- community_tags-method -->
|
1031
|
+
|
1032
|
+
|
1033
|
+
<div id="method-i-community_update" class="method-detail ">
|
1034
|
+
|
1035
|
+
<div class="method-heading">
|
1036
|
+
<span class="method-name">community_update</span><span
|
1037
|
+
class="method-args">(com_id, title, description, access_type, default_forum, default_workbin, category_id, tags, display_members_to, opening_date, expiry_date)</span>
|
1038
|
+
<span class="method-click-advice">click to toggle source</span>
|
1039
|
+
</div>
|
1040
|
+
|
1041
|
+
|
1042
|
+
<div class="method-description">
|
1043
|
+
|
1044
|
+
|
1045
|
+
|
1046
|
+
|
1047
|
+
|
1048
|
+
<div class="method-source-code" id="community_update-source">
|
1049
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 94</span>
|
1050
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_update</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">description</span>, <span class="ruby-identifier">access_type</span>, <span class="ruby-identifier">default_forum</span>, <span class="ruby-identifier">default_workbin</span>, <span class="ruby-identifier">category_id</span>, <span class="ruby-identifier">tags</span>, <span class="ruby-identifier">display_members_to</span>, <span class="ruby-identifier">opening_date</span>, <span class="ruby-identifier">expiry_date</span>)
|
1051
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_Update_JSON'</span>, {
|
1052
|
+
<span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>,
|
1053
|
+
<span class="ruby-identifier">title</span><span class="ruby-operator">:</span> <span class="ruby-identifier">title</span>,
|
1054
|
+
<span class="ruby-identifier">description</span><span class="ruby-operator">:</span> <span class="ruby-identifier">description</span>,
|
1055
|
+
<span class="ruby-identifier">accesstype</span><span class="ruby-operator">:</span> <span class="ruby-identifier">access_type</span>,
|
1056
|
+
<span class="ruby-identifier">defaultforum</span><span class="ruby-operator">:</span> <span class="ruby-identifier">default_forum</span>,
|
1057
|
+
<span class="ruby-identifier">defaultworkbin</span><span class="ruby-operator">:</span> <span class="ruby-identifier">default_workbin</span>,
|
1058
|
+
<span class="ruby-identifier">categoryid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">category_id</span>,
|
1059
|
+
<span class="ruby-identifier">tags</span><span class="ruby-operator">:</span> <span class="ruby-identifier">tags</span>,
|
1060
|
+
<span class="ruby-identifier">displaymembersto</span><span class="ruby-operator">:</span> <span class="ruby-identifier">display_members_to</span>,
|
1061
|
+
<span class="ruby-identifier">openingdate</span><span class="ruby-operator">:</span> <span class="ruby-identifier">opening_date</span>,
|
1062
|
+
<span class="ruby-identifier">expirydate</span><span class="ruby-operator">:</span> <span class="ruby-identifier">expiry_date</span>
|
1063
|
+
}
|
1064
|
+
<span class="ruby-keyword">end</span></pre>
|
1065
|
+
</div><!-- community_update-source -->
|
1066
|
+
|
1067
|
+
</div>
|
1068
|
+
|
1069
|
+
|
1070
|
+
|
1071
|
+
|
1072
|
+
</div><!-- community_update-method -->
|
1073
|
+
|
1074
|
+
|
1075
|
+
<div id="method-i-community_update_comment" class="method-detail ">
|
1076
|
+
|
1077
|
+
<div class="method-heading">
|
1078
|
+
<span class="method-name">community_update_comment</span><span
|
1079
|
+
class="method-args">(comment_id, comment)</span>
|
1080
|
+
<span class="method-click-advice">click to toggle source</span>
|
1081
|
+
</div>
|
1082
|
+
|
1083
|
+
|
1084
|
+
<div class="method-description">
|
1085
|
+
|
1086
|
+
|
1087
|
+
|
1088
|
+
|
1089
|
+
|
1090
|
+
<div class="method-source-code" id="community_update_comment-source">
|
1091
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 158</span>
|
1092
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_update_comment</span>(<span class="ruby-identifier">comment_id</span>, <span class="ruby-identifier">comment</span>)
|
1093
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Commmunity_UpdateComment_JSON'</span>, <span class="ruby-identifier">commentid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">comment_id</span>, <span class="ruby-identifier">comment</span><span class="ruby-operator">:</span> <span class="ruby-identifier">comment</span>
|
1094
|
+
<span class="ruby-keyword">end</span></pre>
|
1095
|
+
</div><!-- community_update_comment-source -->
|
1096
|
+
|
1097
|
+
</div>
|
1098
|
+
|
1099
|
+
|
1100
|
+
|
1101
|
+
|
1102
|
+
</div><!-- community_update_comment-method -->
|
1103
|
+
|
1104
|
+
|
1105
|
+
<div id="method-i-community_update_member" class="method-detail ">
|
1106
|
+
|
1107
|
+
<div class="method-heading">
|
1108
|
+
<span class="method-name">community_update_member</span><span
|
1109
|
+
class="method-args">(com_id, member_id, member_type)</span>
|
1110
|
+
<span class="method-click-advice">click to toggle source</span>
|
1111
|
+
</div>
|
1112
|
+
|
1113
|
+
|
1114
|
+
<div class="method-description">
|
1115
|
+
|
1116
|
+
|
1117
|
+
|
1118
|
+
|
1119
|
+
|
1120
|
+
<div class="method-source-code" id="community_update_member-source">
|
1121
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 79</span>
|
1122
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_update_member</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">member_id</span>, <span class="ruby-identifier">member_type</span>)
|
1123
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_UpdateMember_JSON'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">memberid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">member_id</span>, <span class="ruby-identifier">membertype</span><span class="ruby-operator">:</span> <span class="ruby-identifier">member_type</span>
|
1124
|
+
<span class="ruby-keyword">end</span></pre>
|
1125
|
+
</div><!-- community_update_member-source -->
|
1126
|
+
|
1127
|
+
</div>
|
1128
|
+
|
1129
|
+
|
1130
|
+
|
1131
|
+
|
1132
|
+
</div><!-- community_update_member-method -->
|
1133
|
+
|
1134
|
+
|
1135
|
+
<div id="method-i-community_update_task" class="method-detail ">
|
1136
|
+
|
1137
|
+
<div class="method-heading">
|
1138
|
+
<span class="method-name">community_update_task</span><span
|
1139
|
+
class="method-args">(task_id, task_name, task_description, parent_task_id, task_status, task_priority, task_due_date)</span>
|
1140
|
+
<span class="method-click-advice">click to toggle source</span>
|
1141
|
+
</div>
|
1142
|
+
|
1143
|
+
|
1144
|
+
<div class="method-description">
|
1145
|
+
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
<div class="method-source-code" id="community_update_task-source">
|
1151
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 138</span>
|
1152
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_update_task</span>(<span class="ruby-identifier">task_id</span>, <span class="ruby-identifier">task_name</span>, <span class="ruby-identifier">task_description</span>, <span class="ruby-identifier">parent_task_id</span>, <span class="ruby-identifier">task_status</span>, <span class="ruby-identifier">task_priority</span>, <span class="ruby-identifier">task_due_date</span>)
|
1153
|
+
<span class="ruby-identifier">api_post</span> <span class="ruby-string">'Community_UpdateTask_JSON'</span>, {
|
1154
|
+
<span class="ruby-identifier">taskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>,
|
1155
|
+
<span class="ruby-identifier">taskname</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_name</span>,
|
1156
|
+
<span class="ruby-identifier">taskdescription</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_description</span>,
|
1157
|
+
<span class="ruby-identifier">parenttaskid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">parent_task_id</span>,
|
1158
|
+
<span class="ruby-identifier">taskstatus</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_status</span>,
|
1159
|
+
<span class="ruby-identifier">taskpriority</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_priority</span>,
|
1160
|
+
<span class="ruby-identifier">taskduedate</span><span class="ruby-operator">:</span> <span class="ruby-identifier">task_due_date</span>
|
1161
|
+
}
|
1162
|
+
<span class="ruby-keyword">end</span></pre>
|
1163
|
+
</div><!-- community_update_task-source -->
|
1164
|
+
|
1165
|
+
</div>
|
1166
|
+
|
1167
|
+
|
1168
|
+
|
1169
|
+
|
1170
|
+
</div><!-- community_update_task-method -->
|
1171
|
+
|
1172
|
+
|
1173
|
+
<div id="method-i-community_weblinks" class="method-detail ">
|
1174
|
+
|
1175
|
+
<div class="method-heading">
|
1176
|
+
<span class="method-name">community_weblinks</span><span
|
1177
|
+
class="method-args">(com_id)</span>
|
1178
|
+
<span class="method-click-advice">click to toggle source</span>
|
1179
|
+
</div>
|
1180
|
+
|
1181
|
+
|
1182
|
+
<div class="method-description">
|
1183
|
+
|
1184
|
+
|
1185
|
+
|
1186
|
+
|
1187
|
+
|
1188
|
+
<div class="method-source-code" id="community_weblinks-source">
|
1189
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 60</span>
|
1190
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_weblinks</span>(<span class="ruby-identifier">com_id</span>)
|
1191
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityWeblinks'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>
|
1192
|
+
<span class="ruby-keyword">end</span></pre>
|
1193
|
+
</div><!-- community_weblinks-source -->
|
1194
|
+
|
1195
|
+
</div>
|
1196
|
+
|
1197
|
+
|
1198
|
+
|
1199
|
+
|
1200
|
+
</div><!-- community_weblinks-method -->
|
1201
|
+
|
1202
|
+
|
1203
|
+
<div id="method-i-community_workbin_files" class="method-detail ">
|
1204
|
+
|
1205
|
+
<div class="method-heading">
|
1206
|
+
<span class="method-name">community_workbin_files</span><span
|
1207
|
+
class="method-args">(folder_id, duration=0)</span>
|
1208
|
+
<span class="method-click-advice">click to toggle source</span>
|
1209
|
+
</div>
|
1210
|
+
|
1211
|
+
|
1212
|
+
<div class="method-description">
|
1213
|
+
|
1214
|
+
|
1215
|
+
|
1216
|
+
|
1217
|
+
|
1218
|
+
<div class="method-source-code" id="community_workbin_files-source">
|
1219
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 36</span>
|
1220
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_workbin_files</span>(<span class="ruby-identifier">folder_id</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
1221
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityWorkbinFiles'</span>, <span class="ruby-identifier">folderid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">folder_id</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
1222
|
+
<span class="ruby-keyword">end</span></pre>
|
1223
|
+
</div><!-- community_workbin_files-source -->
|
1224
|
+
|
1225
|
+
</div>
|
1226
|
+
|
1227
|
+
|
1228
|
+
|
1229
|
+
|
1230
|
+
</div><!-- community_workbin_files-method -->
|
1231
|
+
|
1232
|
+
|
1233
|
+
<div id="method-i-community_workbin_folders" class="method-detail ">
|
1234
|
+
|
1235
|
+
<div class="method-heading">
|
1236
|
+
<span class="method-name">community_workbin_folders</span><span
|
1237
|
+
class="method-args">(com_id, including_files=true, duration=0)</span>
|
1238
|
+
<span class="method-click-advice">click to toggle source</span>
|
1239
|
+
</div>
|
1240
|
+
|
1241
|
+
|
1242
|
+
<div class="method-description">
|
1243
|
+
|
1244
|
+
|
1245
|
+
|
1246
|
+
|
1247
|
+
|
1248
|
+
<div class="method-source-code" id="community_workbin_folders-source">
|
1249
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 32</span>
|
1250
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">community_workbin_folders</span>(<span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">including_files</span>=<span class="ruby-keyword">true</span>, <span class="ruby-identifier">duration</span>=<span class="ruby-value">0</span>)
|
1251
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'CommunityWorkbinFolders'</span>, <span class="ruby-identifier">comid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">com_id</span>, <span class="ruby-identifier">includingfiles</span><span class="ruby-operator">:</span> <span class="ruby-identifier">including_files</span>, <span class="ruby-identifier">duration</span><span class="ruby-operator">:</span> <span class="ruby-identifier">duration</span>
|
1252
|
+
<span class="ruby-keyword">end</span></pre>
|
1253
|
+
</div><!-- community_workbin_folders-source -->
|
1254
|
+
|
1255
|
+
</div>
|
1256
|
+
|
1257
|
+
|
1258
|
+
|
1259
|
+
|
1260
|
+
</div><!-- community_workbin_folders-method -->
|
1261
|
+
|
1262
|
+
|
1263
|
+
<div id="method-i-download_file" class="method-detail ">
|
1264
|
+
|
1265
|
+
<div class="method-heading">
|
1266
|
+
<span class="method-name">download_file</span><span
|
1267
|
+
class="method-args">(id)</span>
|
1268
|
+
<span class="method-click-advice">click to toggle source</span>
|
1269
|
+
</div>
|
1270
|
+
|
1271
|
+
|
1272
|
+
<div class="method-description">
|
1273
|
+
|
1274
|
+
|
1275
|
+
|
1276
|
+
|
1277
|
+
|
1278
|
+
<div class="method-source-code" id="download_file-source">
|
1279
|
+
<pre><span class="ruby-comment"># File lib/IVLE/api/community.rb, line 110</span>
|
1280
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">download_file</span>(<span class="ruby-identifier">id</span>)
|
1281
|
+
<span class="ruby-identifier">api</span> <span class="ruby-string">'downloadfile'</span>, <span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>
|
1282
|
+
<span class="ruby-keyword">end</span></pre>
|
1283
|
+
</div><!-- download_file-source -->
|
1284
|
+
|
1285
|
+
</div>
|
1286
|
+
|
1287
|
+
|
1288
|
+
|
1289
|
+
|
1290
|
+
</div><!-- download_file-method -->
|
1291
|
+
|
1292
|
+
|
1293
|
+
</section><!-- public-instance-method-details -->
|
1294
|
+
|
1295
|
+
</section><!-- 5Buntitled-5D -->
|
1296
|
+
|
1297
|
+
</div><!-- documentation -->
|
1298
|
+
|
1299
|
+
|
1300
|
+
<footer id="validator-badges">
|
1301
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
1302
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
|
1303
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
1304
|
+
</footer>
|
1305
|
+
|