Module: Bearcat::Client::Courses

Included in:
Bearcat::Client
Defined in:
lib/bearcat/client/courses.rb

Instance Method Summary collapse

Instance Method Details

#course(course) ⇒ Object



5
6
7
# File 'lib/bearcat/client/courses.rb', line 5

def course(course)
  get("/api/v1/courses/#{course}")
end

#create_course(account_id, params = {}) ⇒ Object



9
10
11
# File 'lib/bearcat/client/courses.rb', line 9

def create_course(, params={})
  post("/api/v1/accounts/#{}/courses", params)
end

#list_course_users(course, params = {}) ⇒ Object



13
14
15
# File 'lib/bearcat/client/courses.rb', line 13

def list_course_users(course, params={})
  get("/api/v1/courses/#{course}/users", params)
end