Sha256: d5c7f2599bdac42254e35ed0d57667a50e8fb5dcbff8cb687a4d8703f1b4638f

Contents?: true

Size: 795 Bytes

Versions: 26

Compression:

Stored size: 795 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Rubric
      def course_rubric(course, rubric)
        get("api/v1/courses/#{course}/rubrics/#{rubric}")
      end

      def course_rubrics(course, params={})
        get("api/v1/courses/#{course}/rubrics", params)
      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

      def account_rubrics(account, params={})
        get("api/v1/accounts/#{account}/rubrics", params={})
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bearcat-1.4.13 lib/bearcat/client/rubric.rb
bearcat-1.4.12 lib/bearcat/client/rubric.rb
bearcat-1.4.11 lib/bearcat/client/rubric.rb
bearcat-1.4.10 lib/bearcat/client/rubric.rb
bearcat-1.4.9 lib/bearcat/client/rubric.rb
bearcat-1.4.8 lib/bearcat/client/rubric.rb
bearcat-1.4.7 lib/bearcat/client/rubric.rb
bearcat-1.4.6 lib/bearcat/client/rubric.rb
bearcat-1.4.5 lib/bearcat/client/rubric.rb
bearcat-1.4.4 lib/bearcat/client/rubric.rb
bearcat-1.4.3 lib/bearcat/client/rubric.rb
bearcat-1.4.2 lib/bearcat/client/rubric.rb
bearcat-1.4.1 lib/bearcat/client/rubric.rb
bearcat-1.4.0 lib/bearcat/client/rubric.rb
bearcat-1.3.55 lib/bearcat/client/rubric.rb
bearcat-1.3.53 lib/bearcat/client/rubric.rb
bearcat-1.3.52 lib/bearcat/client/rubric.rb
bearcat-1.3.51 lib/bearcat/client/rubric.rb
bearcat-1.3.49 lib/bearcat/client/rubric.rb
bearcat-1.3.48 lib/bearcat/client/rubric.rb