Sha256: 96fd1cf04b0f3503671ebfb6897b9e826f5aeebf8626dfe1c71457f3401f546d

Contents?: true

Size: 458 Bytes

Versions: 30

Compression:

Stored size: 458 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
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
bearcat-1.0.12 lib/bearcat/client/quizzes.rb
bearcat-1.0.11 lib/bearcat/client/quizzes.rb
bearcat-1.0.10 lib/bearcat/client/quizzes.rb
bearcat-1.0.9 lib/bearcat/client/quizzes.rb
bearcat-1.0.8 lib/bearcat/client/quizzes.rb
bearcat-1.0.7 lib/bearcat/client/quizzes.rb
bearcat-1.0.6 lib/bearcat/client/quizzes.rb
bearcat-1.0.5 lib/bearcat/client/quizzes.rb
bearcat-1.0.4 lib/bearcat/client/quizzes.rb
bearcat-1.0.3 lib/bearcat/client/quizzes.rb