Sha256: 97b26dcbca9f2980d0781fcb22f262d0c63057aff964afcc63e1d596c86a18cc

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bearcat-1.0.2 lib/bearcat/client/quizzes.rb
bearcat-1.0.1 lib/bearcat/client/quizzes.rb
bearcat-1.0.0 lib/bearcat/client/quizzes.rb
bearcat-0.9.22 lib/bearcat/client/quizzes.rb