lib/bearcat/client/submissions.rb in bearcat-1.2.0 vs lib/bearcat/client/submissions.rb in bearcat-1.2.1
- old
+ new
@@ -4,9 +4,13 @@
def course_submissions(course, params={})
get("/api/v1/courses/#{course.to_s}/students/submissions", params)
end
+ def section_submissions(section, params={})
+ get("/api/v1/sections/#{section.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 user_course_assignment_submission(course, assignment, user, params={})