module Bearcat class Client < Footrest::Client module Assignments 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={}) post("/api/v1/courses/#{course}/assignments", params) end def edit_assignment(course, assignment, params={}) put("/api/v1/courses/#{course}/assignments/#{assignment}", params) end end end end