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.2.1 lib/bearcat/client/quizzes.rb
bearcat-1.2.0 lib/bearcat/client/quizzes.rb
bearcat-1.1.1 lib/bearcat/client/quizzes.rb
bearcat-1.1.0 lib/bearcat/client/quizzes.rb
bearcat-1.0.28 lib/bearcat/client/quizzes.rb
bearcat-1.0.27 lib/bearcat/client/quizzes.rb
bearcat-1.0.26 lib/bearcat/client/quizzes.rb
bearcat-1.0.25 lib/bearcat/client/quizzes.rb
bearcat-1.0.24 lib/bearcat/client/quizzes.rb
bearcat-1.0.23 lib/bearcat/client/quizzes.rb
bearcat-1.0.22 lib/bearcat/client/quizzes.rb
bearcat-1.0.21 lib/bearcat/client/quizzes.rb
bearcat-1.0.20 lib/bearcat/client/quizzes.rb
bearcat-1.0.19 lib/bearcat/client/quizzes.rb
bearcat-1.0.18 lib/bearcat/client/quizzes.rb
bearcat-1.0.17 lib/bearcat/client/quizzes.rb
bearcat-1.0.16 lib/bearcat/client/quizzes.rb
bearcat-1.0.15 lib/bearcat/client/quizzes.rb
bearcat-1.0.14 lib/bearcat/client/quizzes.rb
bearcat-1.0.13 lib/bearcat/client/quizzes.rb