Sha256: 727934593bdbd04990b3da909c6604554ca3bb3ee635ad991bb30fec6d9bab80

Contents?: true

Size: 1.28 KB

Versions: 19

Compression:

Stored size: 1.28 KB

Contents

module Bearcat
  class Client < Footrest::Client
    module CustomGradebookColumns

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

      def create_gradebook_columns(course, params={})
        post("/api/v1/courses/#{course.to_s}/custom_gradebook_columns", params)
      end

      def update_gradebook_columns(course, gradebook_column, params={})
        put("/api/v1/courses/#{course.to_s}/custom_gradebook_columns/#{gradebook_column}", params)
      end

      def delete_gradebook_columns(course, gradebook_column, params={})
        delete("/api/v1/courses/#{course.to_s}/custom_gradebook_columns/#{gradebook_column}", params)
      end

      def gradebook_columns_data(course, gradebook_column, params={})
        get("/api/v1/courses/#{course.to_s}/custom_gradebook_columns/#{gradebook_column}/data", params)
      end

      def update_gradebook_columns_data(course, gradebook_column, student, params={})
        put("/api/v1/courses/#{course.to_s}/custom_gradebook_columns/#{gradebook_column}/data/#{student}", params)
      end

      def bulk_update_gradebook_columns_data(course, params={})
        put("/api/v1/courses/#{course.to_s}/custom_gradebook_column_data", params)
      end

    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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