lib/bearcat/client/assignments.rb in bearcat-1.0.14 vs lib/bearcat/client/assignments.rb in bearcat-1.0.15
- old
+ new
@@ -4,9 +4,13 @@
def assignments(course, params={})
get("/api/v1/courses/#{course}/assignments", params)
end
+ def assignment(course, assignment, params={})
+ get("/api/v1/courses/#{course}/assignments/#{assignment}", params)
+ 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