module IVLE::StudentEvents

Public Instance Methods

student_event_post_new_event(category_id, committee_id, evt_start_date, evt_end_date) click to toggle source
# File lib/IVLE/api/student_events.rb, line 23
def student_event_post_new_event(category_id, committee_id, evt_start_date, evt_end_date)
  api_post 'StudentEvent_PostNewEvent_JSON', {
    categoryid: category_id,
    committeeid: committee_id,
    evtstartdate: evt_start_date,
    evtenddate: evt_end_date
  }
end
student_events(title_only=false) click to toggle source
# File lib/IVLE/api/student_events.rb, line 3
def student_events(title_only=false)
  api 'StudentEvents', titleonly: title_only
end
student_events_categories(include_events=true, title_only=false) click to toggle source
# File lib/IVLE/api/student_events.rb, line 7
def student_events_categories(include_events=true, title_only=false)
  api 'StudentEvents_Categories', includeevents: include_events, titleonly: title_only
end
student_events_category(category_id, title_only=false) click to toggle source
# File lib/IVLE/api/student_events.rb, line 15
def student_events_category(category_id, title_only=false)
  api 'StudentEvents_Category', categoryid: category_id, titleonly: title_only
end
student_events_committee(committee_id, title_only=false) click to toggle source
# File lib/IVLE/api/student_events.rb, line 19
def student_events_committee(committee_id, title_only=false)
  api 'StudentEvents_Committee', committeeid: committee_id, titleonly: title_only
end
student_events_committees(include_events=true, title_only=false) click to toggle source
# File lib/IVLE/api/student_events.rb, line 11
def student_events_committees(include_events=true, title_only=false)
  api 'StudentEvents_Committees', includeevents: include_events, titleonly: title_only
end