Sha256: 5a4d1ba7dc75ebf03a1ff7683cc75af0ddd2632344b69ba3f917deb73fc85093
Contents?: true
Size: 903 Bytes
Versions: 34
Compression:
Stored size: 903 Bytes
Contents
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 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={}) 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
Version data entries
34 entries across 34 versions & 1 rubygems