Sha256: 7ce287d15d1546f682c0002ab07c0c78b78eb0f49e6658f08f6dd711a703ce58

Contents?: true

Size: 596 Bytes

Versions: 25

Compression:

Stored size: 596 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Quizzes
      extend ClientModule

      prefix "/api/v1/courses/:course/" do
        get :list_course_quizzes, "quizzes"
        post :create_quiz, "quizzes"
        get :quiz_assignment_overrides, "quizzes/assignment_overrides"

        prefix "quizzes/:quiz/" do
          get :quiz
          put :edit_quiz
          post :quiz_extensions, "extensions"
          get :quiz_questions, "questions"
          post :create_quiz_report, "reports"
          get :get_quiz_report, "reports/:report"
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
bearcat-1.5.0 lib/bearcat/client/quizzes.rb
bearcat-1.5.0.beta4 lib/bearcat/client/quizzes.rb
bearcat-1.5.0.beta3 lib/bearcat/client/quizzes.rb
bearcat-1.5.0.beta2 lib/bearcat/client/quizzes.rb
bearcat-1.5.0.beta1 lib/bearcat/client/quizzes.rb