Sha256: 49a1bac7384f662525c54917e0fd441b068bd41df2e9856d9b92bf1823f15e72

Contents?: true

Size: 712 Bytes

Versions: 7

Compression:

Stored size: 712 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 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 create_quiz(course, params={})
        post("/api/v1/courses/#{course}/quizzes", params)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bearcat-1.2.13 lib/bearcat/client/quizzes.rb
bearcat-1.2.12 lib/bearcat/client/quizzes.rb
bearcat-1.2.11 lib/bearcat/client/quizzes.rb
bearcat-1.2.10 lib/bearcat/client/quizzes.rb
bearcat-1.2.9 lib/bearcat/client/quizzes.rb
bearcat-1.2.7 lib/bearcat/client/quizzes.rb
bearcat-1.2.6 lib/bearcat/client/quizzes.rb