# File lib/IVLE/api/announcement.rb, line 15 def announcement_add(course_id, ann_title, ann_message, send_email) api_post 'Announcement_Add_JSON', courseid: course_id, anntitle: ann_title, annmessage: ann_message, sendemail: send_email end
# File lib/IVLE/api/announcement.rb, line 11 def announcement_add_log(ann_event_id) api_post 'Announcement_AddLog_JSON', anneventid: ann_event_id end
# File lib/IVLE/api/announcement.rb, line 3 def announcements(course_id, duration=0, title_only=false) api 'Announcements', courseid: course_id, duration: duration, titleonly: title_only end
# File lib/IVLE/api/announcement.rb, line 7 def announcements_unread(title_only=false) api 'Announcements_Unread' end