lib/bearcat/client/assignments.rb in bearcat-1.3.26 vs lib/bearcat/client/assignments.rb in bearcat-1.3.27
- old
+ new
@@ -20,9 +20,13 @@
def create_assignment_override(course, assignment, params)
post("api/v1/courses/#{course}/assignments/#{assignment}/overrides", params)
end
+ def delete_assignment_override(course_id, assignment_id, override_id, params={})
+ delete("api/v1/courses/#{course_id}/assignments/#{assignment_id}/overrides/#{override_id}", params)
+ end
+
def batch_create_assignment_overrides(course_id, params)
post("/api/v1/courses/#{course_id}/assignments/overrides", params)
end
def batch_update_assignment_overrides(course_id, params)