Class: XingApi::Group::Post::Like
- Inherits:
-
Base
- Object
- Base
- XingApi::Group::Post::Like
show all
- Defined in:
- lib/xing_api/group/post/like.rb
Class Method Summary
collapse
Methods inherited from Base
request, request_with_body
Class Method Details
.create(post_id, options = {}) ⇒ Object
9
10
11
|
# File 'lib/xing_api/group/post/like.rb', line 9
def self.create(post_id, options = {})
request(:put, "/v1/groups/forums/posts/#{post_id}/like", options)
end
|
.delete(post_id, options = {}) ⇒ Object
13
14
15
|
# File 'lib/xing_api/group/post/like.rb', line 13
def self.delete(post_id, options = {})
request(:delete, "/v1/groups/forums/posts/#{post_id}/like", options)
end
|
.list(post_id, options = {}) ⇒ Object
5
6
7
|
# File 'lib/xing_api/group/post/like.rb', line 5
def self.list(post_id, options = {})
request(:get, "/v1/groups/forums/posts/#{post_id}/likes", options)
end
|