Sha256: 640675601648692f2f5bc65b024e994a57b11fcb39e83f217605240006132dab
Contents?: true
Size: 969 Bytes
Versions: 54
Compression:
Stored size: 969 Bytes
Contents
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
Version data entries
54 entries across 54 versions & 1 rubygems