Class: XingApi::Group::Post::Comment::Like

Inherits:
Base
  • Object
show all
Defined in:
lib/xing_api/group/post/comment/like.rb

Class Method Summary collapse

Methods inherited from Base

request, request_with_body

Class Method Details

.create(comment_id, options = {}) ⇒ Object



10
11
12
# File 'lib/xing_api/group/post/comment/like.rb', line 10

def self.create(comment_id, options = {})
  request(:put, "/v1/groups/forums/posts/comments/#{comment_id}/like", options)
end

.delete(comment_id, options = {}) ⇒ Object



14
15
16
# File 'lib/xing_api/group/post/comment/like.rb', line 14

def self.delete(comment_id, options = {})
  request(:delete, "/v1/groups/forums/posts/comments/#{comment_id}/like", options)
end

.list(comment_id, options = {}) ⇒ Object



6
7
8
# File 'lib/xing_api/group/post/comment/like.rb', line 6

def self.list(comment_id, options = {})
  request(:get, "/v1/groups/forums/posts/comments/#{comment_id}/likes", options)
end