lib/bearcat/client/submissions.rb in bearcat-1.0.4 vs lib/bearcat/client/submissions.rb in bearcat-1.0.5

- old
+ new

@@ -4,9 +4,13 @@ def course_submissions(course, params={}) get("/api/v1/courses/#{course.to_s}/students/submissions", params) end + def get_course_submissions(course, assignment, params={}) + get("/api/v1/courses/#{course.to_s}/assignments/#{assignment}/submissions", params) + end + def course_submission(course, assignment, params) post("/api/v1/courses/#{course}/assignments/#{assignment}/submissions", params) end def section_submission(section, assignment, params)