lib/bearcat/client/courses.rb in bearcat-1.0.2 vs lib/bearcat/client/courses.rb in bearcat-1.0.3
- old
+ new
@@ -16,9 +16,13 @@
def list_course_users(course, params={})
get("/api/v1/courses/#{course}/users", params)
end
+ def course_quiz_extensions(course, params={})
+ post("/api/v1/courses/#{course}/quiz_extensions", params)
+ end
+
def create_content_migration(course, file_path, params={})
response = post("/api/v1/courses/#{course}/content_migrations", params)
pre_attachment = response['pre_attachment']
confirmation_url = post_file(pre_attachment['upload_url'], pre_attachment['upload_params'], file_path)
confirm_file_upload(confirmation_url)