Module: BridgeAPI::Client::LiveCourse

Defined in:
lib/bridge_api/client/live_course.rb

Instance Method Summary collapse

Instance Method Details

#get_all_live_courses(params = {}) ⇒ Object



6
7
8
# File 'lib/bridge_api/client/live_course.rb', line 6

def get_all_live_courses(params = {})
  get("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}", params)
end

#get_live_course(live_course_id, params = {}) ⇒ Object



10
11
12
# File 'lib/bridge_api/client/live_course.rb', line 10

def get_live_course(live_course_id, params = {})
  get("#{API_PATH}#{AUTHOR_PATH}#{LIVE_COURSES_PATH}/#{live_course_id}", params)
end