Sha256: e094d2ef0ecf33e9ddb70bc2987f1e4a903ab0b0a80245c73ee42c94028cb346
Contents?: true
Size: 884 Bytes
Versions: 34
Compression:
Stored size: 884 Bytes
Contents
module Bearcat class Client < Footrest::Client module AssignmentGroups def list_assignment_groups(course, params={}) get("/api/v1/courses/#{course}/assignment_groups", params) end def assignment_group(course_id, assignment_group_id, params={}) get("/api/v1/courses/#{course_id}/assignment_groups/#{assignment_group_id}", params) end def create_assignment_group(course, params={}) post("/api/v1/courses/#{course}/assignment_groups", params) end def update_assignment_group(course, assignment_group_id, params={}) put("/api/v1/courses/#{course}/assignment_groups/#{assignment_group_id}", params) end def delete_assignment_group(course, assignment_group_id, params={}) delete("/api/v1/courses/#{course}/assignment_groups/#{assignment_group_id}", params) end end end end
Version data entries
34 entries across 34 versions & 1 rubygems