Sha256: ce0875c1676165ff9003fa3938d73118e45d93fc02e970371fd2ce42e5750c14

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Courses

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

      def create_course(account_id, params={})
        post("/api/v1/accounts/#{account_id}/courses", params)
      end

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bearcat-0.9.17 lib/bearcat/client/courses.rb