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.24 lib/bearcat/client/quizzes.rb
bearcat-1.5.23 lib/bearcat/client/quizzes.rb
bearcat-1.5.20 lib/bearcat/client/quizzes.rb
bearcat-1.5.19 lib/bearcat/client/quizzes.rb
bearcat-1.5.17 lib/bearcat/client/quizzes.rb
bearcat-1.5.16 lib/bearcat/client/quizzes.rb
bearcat-1.5.15 lib/bearcat/client/quizzes.rb
bearcat-1.5.14 lib/bearcat/client/quizzes.rb
bearcat-1.5.13 lib/bearcat/client/quizzes.rb
bearcat-1.5.12 lib/bearcat/client/quizzes.rb
bearcat-1.5.11 lib/bearcat/client/quizzes.rb
bearcat-1.5.10 lib/bearcat/client/quizzes.rb
bearcat-1.5.9 lib/bearcat/client/quizzes.rb
bearcat-1.5.8 lib/bearcat/client/quizzes.rb
bearcat-1.5.7 lib/bearcat/client/quizzes.rb
bearcat-1.5.6 lib/bearcat/client/quizzes.rb
bearcat-1.5.5 lib/bearcat/client/quizzes.rb
bearcat-1.5.4 lib/bearcat/client/quizzes.rb
bearcat-1.5.3 lib/bearcat/client/quizzes.rb
bearcat-1.5.2 lib/bearcat/client/quizzes.rb