Sha256: cc1f95c9c2c766227d13a9f3513456fbfb19273dcd8d4ac459e2fc45dcdf58cb

Contents?: true

Size: 733 Bytes

Versions: 37

Compression:

Stored size: 733 Bytes

Contents

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

      prefix "/api/v1/courses/:course/assignments/" do
        get :assignments, ""
        post :create_assignment, ""

        get :all_assignment_overrides, "overrides"
        post :batch_create_assignment_overrides, "overrides"
        put :batch_update_assignment_overrides, "overrides"

        prefix ":assignment/" do
          get :assignment
          put :edit_assignment
          delete :delete_assignment

          get :assignment_overrides, "overrides"
          post :create_assignment_override, "overrides"
          delete :delete_assignment_override, "overrides/:override"
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
bearcat-1.5.13 lib/bearcat/client/assignments.rb
bearcat-1.5.12 lib/bearcat/client/assignments.rb
bearcat-1.5.11 lib/bearcat/client/assignments.rb
bearcat-1.5.10 lib/bearcat/client/assignments.rb
bearcat-1.5.9 lib/bearcat/client/assignments.rb
bearcat-1.5.8 lib/bearcat/client/assignments.rb
bearcat-1.5.7 lib/bearcat/client/assignments.rb
bearcat-1.5.6 lib/bearcat/client/assignments.rb
bearcat-1.5.5 lib/bearcat/client/assignments.rb
bearcat-1.5.4 lib/bearcat/client/assignments.rb
bearcat-1.5.3 lib/bearcat/client/assignments.rb
bearcat-1.5.2 lib/bearcat/client/assignments.rb
bearcat-1.5.0 lib/bearcat/client/assignments.rb
bearcat-1.5.0.beta4 lib/bearcat/client/assignments.rb
bearcat-1.5.0.beta3 lib/bearcat/client/assignments.rb
bearcat-1.5.0.beta2 lib/bearcat/client/assignments.rb
bearcat-1.5.0.beta1 lib/bearcat/client/assignments.rb