Sha256: be591245f4648c1bff810ba6cda6770f834a01e8329b86f6eaf4d8d94b6b5db3

Contents?: true

Size: 567 Bytes

Versions: 9

Compression:

Stored size: 567 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Rubric

      def course_rubric(course, rubric)
        get("api/v1/courses/#{course}/rubrics/#{rubric}")
      end

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

      def update_course_rubric(course, rubric, params={})
        put("api/v1/courses/#{course}/rubrics/#{rubric}", params)
      end

      def delete_course_rubric(course, rubric)
        delete("api/v1/courses/#{course}/rubrics/#{rubric}")
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bearcat-1.3.40 lib/bearcat/client/rubric.rb
bearcat-1.3.39 lib/bearcat/client/rubric.rb
bearcat-1.3.38 lib/bearcat/client/rubric.rb
bearcat-1.3.37 lib/bearcat/client/rubric.rb
bearcat-1.3.36 lib/bearcat/client/rubric.rb
bearcat-1.3.35 lib/bearcat/client/rubric.rb
bearcat-1.3.34 lib/bearcat/client/rubric.rb
bearcat-1.3.33 lib/bearcat/client/rubric.rb
bearcat-1.3.32 lib/bearcat/client/rubric.rb