module Bearcat class Client < Footrest::Client module Quizzes def list_course_quizzes(course, params={}) get("/api/v1/courses/#{course}/quizzes", params) end def quiz(course, quiz, params={}) get("/api/v1/courses/#{course}/quizzes/#{quiz}", params) end def edit_quiz(course, quiz, params={}) put("/api/v1/courses/#{course}/quizzes/#{quiz}", params) end def quiz_extensions(course, quiz, params={}) post("/api/v1/courses/#{course}/quizzes/#{quiz}/extensions", params) end def quiz_assignment_overrides(course, params={}) get("/api/v1/courses/#{course}/quizzes/assignment_overrides", params) end def quiz_questions(course, quiz, params={}) get("/api/v1/courses/#{course}/quizzes/#{quiz}/questions", params) end def create_quiz(course, params={}) post("/api/v1/courses/#{course}/quizzes", params) end end end end