Class: XingApi::Group::Post
- Inherits:
-
Base
- Object
- Base
- XingApi::Group::Post
show all
- Defined in:
- lib/xing_api/group/post.rb,
lib/xing_api/group/post/like.rb,
lib/xing_api/group/post/comment.rb,
lib/xing_api/group/post/comment/like.rb
Defined Under Namespace
Classes: Comment, Like
Class Method Summary
collapse
Methods inherited from Base
request, request_with_body
Class Method Details
.delete(post_id, options = {}) ⇒ Object
12
13
14
|
# File 'lib/xing_api/group/post.rb', line 12
def self.delete(post_id, options = {})
request(:delete, "/v1/groups/forums/posts/#{post_id}", options)
end
|
.find(post_id, options = {}) ⇒ Object
8
9
10
|
# File 'lib/xing_api/group/post.rb', line 8
def self.find(post_id, options = {})
request(:get, "/v1/groups/forums/posts/#{post_id}", options)
end
|
.list(group_id, options = {}) ⇒ Object
4
5
6
|
# File 'lib/xing_api/group/post.rb', line 4
def self.list(group_id, options = {})
request(:get, "/v1/groups/#{group_id}/posts", options)
end
|