lib/bearcat/client/submissions.rb in bearcat-1.3.3 vs lib/bearcat/client/submissions.rb in bearcat-1.3.4
- old
+ new
@@ -50,8 +50,16 @@
'file_ids'=> [response['id']]
}
section_submission(section, assignment, params)
end
+ def course_update_grades(course, assignment, params={})
+ post("/api/v1/courses/#{course}/assignments/#{assignment}/submissions/update_grades", params)
+ end
+
+ def section_update_grades(section, assignment, params={})
+ post("/api/v1/sections/#{section}/assignments/#{assignment}/submissions/update_grades", params)
+ end
+
end
end
end