lib/bearcat/client/assignments.rb in bearcat-1.2.1 vs lib/bearcat/client/assignments.rb in bearcat-1.2.3
- old
+ new
@@ -8,9 +8,13 @@
def assignment(course, assignment, params={})
get("/api/v1/courses/#{course}/assignments/#{assignment}", params)
end
+ def assignment_overrides(course, assignment)
+ get("/api/v1/courses/#{course}/assignments/#{assignment}/overrides")
+ end
+
def create_assignment_override(course, assignment, params)
post("api/v1/courses/#{course}/assignments/#{assignment}/overrides", params)
end
def create_assignment(course, params={})
\ No newline at end of file