class XingApi::Group::Post::Comment

Public Class Methods

create(post_id, content, options = {}) click to toggle source
# File lib/xing_api/group/post/comment.rb, line 9
def self.create(post_id, content, options = {})
  request(:post, "/v1/groups/forums/posts/#{post_id}/comments", { content: content }.merge(options))
end
delete(comment_id, options = {}) click to toggle source
# File lib/xing_api/group/post/comment.rb, line 13
def self.delete(comment_id, options = {})
  request(:delete, "/v1/groups/forums/posts/comments/#{comment_id}", options)
end
list(post_id, options = {}) click to toggle source
# File lib/xing_api/group/post/comment.rb, line 5
def self.list(post_id, options = {})
  request(:get, "/v1/groups/forums/posts/#{post_id}/comments", options)
end