Sha256: e6137cc501c84780a88f96fb6e51f7ab36abdb590aeeebc0e2d710ea43f02d49

Contents?: true

Size: 646 Bytes

Versions: 12

Compression:

Stored size: 646 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_question, "questions"
          post :create_quiz_report, "reports"
          get :get_quiz_report, "reports/:report"
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bearcat-1.5.37 lib/bearcat/client/quizzes.rb
bearcat-1.5.36 lib/bearcat/client/quizzes.rb
bearcat-1.5.35 lib/bearcat/client/quizzes.rb
bearcat-1.5.34 lib/bearcat/client/quizzes.rb
bearcat-1.5.33 lib/bearcat/client/quizzes.rb
bearcat-1.5.32 lib/bearcat/client/quizzes.rb
bearcat-1.5.31 lib/bearcat/client/quizzes.rb
bearcat-1.5.30 lib/bearcat/client/quizzes.rb
bearcat-1.5.29 lib/bearcat/client/quizzes.rb
bearcat-1.5.28 lib/bearcat/client/quizzes.rb
bearcat-1.5.28.beta1 lib/bearcat/client/quizzes.rb
bearcat-1.5.26 lib/bearcat/client/quizzes.rb