Sha256: e7c069bda307f1ea723e3de368fb024b3ad01f9a91ecf1ce320399472ccdd741

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module AssignmentGroups

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

      def assignment_group(course_id, assignment_group_id, params={})
        get("/api/v1/courses/#{course_id}/assignment_groups/#{assignment_group_id}", params)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bearcat-1.3.3 lib/bearcat/client/assignment_groups.rb
bearcat-1.3.2 lib/bearcat/client/assignment_groups.rb