Sha256: 6b3f97a052220a58c0933f5a87b4d0b9bf75ed35e44ad0597b6d0d635c2eeb3a

Contents?: true

Size: 483 Bytes

Versions: 36

Compression:

Stored size: 483 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Assignments

      def assignments(course, params={})
        get("/api/v1/courses/#{course}/assignments", params)
      end

      def create_assignment_override(course, assignment, params)
        post("api/v1/courses/#{course}/assignments/#{assignment}/overrides", params)
      end

      def create_assignment(course, params={})
        post("/api/v1/courses/#{course}/assignments", params)
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
bearcat-1.0.7 lib/bearcat/client/assignments.rb
bearcat-1.0.6 lib/bearcat/client/assignments.rb
bearcat-1.0.5 lib/bearcat/client/assignments.rb
bearcat-1.0.4 lib/bearcat/client/assignments.rb
bearcat-1.0.3 lib/bearcat/client/assignments.rb
bearcat-1.0.2 lib/bearcat/client/assignments.rb
bearcat-1.0.1 lib/bearcat/client/assignments.rb
bearcat-1.0.0 lib/bearcat/client/assignments.rb
bearcat-0.9.22 lib/bearcat/client/assignments.rb
bearcat-0.9.20 lib/bearcat/client/assignments.rb
bearcat-0.9.19 lib/bearcat/client/assignments.rb
bearcat-0.9.18 lib/bearcat/client/assignments.rb
bearcat-0.9.17 lib/bearcat/client/assignments.rb
bearcat-0.9.16 lib/bearcat/client/assignments.rb
bearcat-0.9.15 lib/bearcat/client/assignments.rb
bearcat-0.9.14 lib/bearcat/client/assignments.rb
bearcat-0.9.13 lib/bearcat/client/assignments.rb
bearcat-0.9.12 lib/bearcat/client/assignments.rb
bearcat-0.9.10 lib/bearcat/client/assignments.rb
bearcat-0.9.9 lib/bearcat/client/assignments.rb