lib/bearcat/client/courses.rb in bearcat-1.0.12 vs lib/bearcat/client/courses.rb in bearcat-1.0.13
- old
+ new
@@ -8,9 +8,13 @@
def create_course(account_id, params={})
post("/api/v1/accounts/#{account_id}/courses", params)
end
+ def delete_course(course, params={event: :delete})
+ delete("/api/v1/courses/#{course}", params)
+ end
+
def update_course(course, params={})
put("/api/v1/courses/#{course}", params)
end
def list_course_users(course, params={})