Sha256: a48719469b7097fa4bf7b594a56284f95c55262a10f466b718667184016a9620

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 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/courses/#{course_id}/discussion_topics", params)
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bearcat-1.2.13 lib/bearcat/client/discussions.rb
bearcat-1.2.12 lib/bearcat/client/discussions.rb
bearcat-1.2.11 lib/bearcat/client/discussions.rb
bearcat-1.2.10 lib/bearcat/client/discussions.rb
bearcat-1.2.9 lib/bearcat/client/discussions.rb
bearcat-1.2.7 lib/bearcat/client/discussions.rb