class XingApi::Company::Update::Comment

Public Class Methods

create(update_id, content, options = {}) click to toggle source
# File lib/xing_api/company/update/comment.rb, line 9
def self.create(update_id, content, options = {})
  request(
    :post,
    "/v1/companies/updates/#{update_id}/comments",
    { content: content }.merge(options)
  )
end
delete(update_id, comment_id, options = {}) click to toggle source
# File lib/xing_api/company/update/comment.rb, line 17
def self.delete(update_id, comment_id, options = {})
  request(
    :delete,
    "/v1/companies/updates/#{update_id}/comments/#{comment_id}",
    options
  )
end
list(update_id, options = {}) click to toggle source
# File lib/xing_api/company/update/comment.rb, line 5
def self.list(update_id, options = {})
  request(:get, "/v1/companies/updates/#{update_id}/comments", options)
end