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