Sha256: 21b68c6772cbe2e279185d6e1226731d329224ca1fe808a6bf550176581d9cc3

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Discussions

      def create_group_discussion(group_id, params = {})
        post("/api/v1/groups/#{group_id}/discussion_topics", params)
      end

      def create_course_discussion(course_id, params= {})
        post("/api/v1/course/#{course_id}/discussion_topics", params)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bearcat-1.2.6 lib/bearcat/client/discussions.rb