Module: BridgeAPI::Client::LiveCourseSession
- Defined in:
- lib/bridge_api/client/live_course_session.rb
Instance Method Summary collapse
- #create_live_course_session(live_course_id, params = {}) ⇒ Object
- #delete_live_course_session(live_course_id, session_id) ⇒ Object
- #get_default_web_conference(params = {}) ⇒ Object
- #get_live_course_session(live_course_id, live_course_session_id, params = {}) ⇒ Object
- #get_live_course_sessions(live_course_id, params = {}) ⇒ Object
- #publish_live_course_session(live_course_id, session_id) ⇒ Object
- #update_live_course_session(live_course_id, session_id, params = {}) ⇒ Object
- #update_web_conference(live_course_id, session_id, params = {}) ⇒ Object
Instance Method Details
#create_live_course_session(live_course_id, params = {}) ⇒ Object
14 15 16 |
# File 'lib/bridge_api/client/live_course_session.rb', line 14 def create_live_course_session(live_course_id, params = {}) post("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}", params) end |
#delete_live_course_session(live_course_id, session_id) ⇒ Object
18 19 20 |
# File 'lib/bridge_api/client/live_course_session.rb', line 18 def delete_live_course_session(live_course_id, session_id) delete("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}/#{session_id}") end |
#get_default_web_conference(params = {}) ⇒ Object
34 35 36 |
# File 'lib/bridge_api/client/live_course_session.rb', line 34 def get_default_web_conference(params = {}) get("#{API_PATH}#{AUTHOR_PATH}#{WEB_CONFERENCE_PATH}", params) end |
#get_live_course_session(live_course_id, live_course_session_id, params = {}) ⇒ Object
10 11 12 |
# File 'lib/bridge_api/client/live_course_session.rb', line 10 def get_live_course_session(live_course_id, live_course_session_id, params = {}) get("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}/#{live_course_session_id}", params) end |
#get_live_course_sessions(live_course_id, params = {}) ⇒ Object
6 7 8 |
# File 'lib/bridge_api/client/live_course_session.rb', line 6 def get_live_course_sessions(live_course_id, params = {}) get("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}", params) end |
#publish_live_course_session(live_course_id, session_id) ⇒ Object
30 31 32 |
# File 'lib/bridge_api/client/live_course_session.rb', line 30 def publish_live_course_session(live_course_id, session_id) post("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}/#{session_id}#{PUBLISH_PATH}") end |
#update_live_course_session(live_course_id, session_id, params = {}) ⇒ Object
22 23 24 |
# File 'lib/bridge_api/client/live_course_session.rb', line 22 def update_live_course_session(live_course_id, session_id, params = {}) put("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}/#{session_id}", params) end |
#update_web_conference(live_course_id, session_id, params = {}) ⇒ Object
26 27 28 |
# File 'lib/bridge_api/client/live_course_session.rb', line 26 def update_web_conference(live_course_id, session_id, params = {}) put("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}#{SESSIONS_PATH}/#{session_id}#{WEB_CONFERENCE_PATH}", params) end |