Module: BacklogKit::Client::Star
- Included in:
- BacklogKit::Client
- Defined in:
- lib/backlog_kit/client/star.rb
Overview
Methods for the Star API
Instance Method Summary collapse
-
#add_issue_comment_star(comment_id) ⇒ BacklogKit::Response
Add a star to an issue comment.
-
#add_issue_star(issue_id) ⇒ BacklogKit::Response
Add a star to an issue.
-
#add_pull_request_comment_star(pull_request_comment_id) ⇒ BacklogKit::Response
Add a star to a pull request comment.
-
#add_pull_request_star(pull_request_id) ⇒ BacklogKit::Response
Add a star to a pull request.
-
#add_wiki_star(wiki_id) ⇒ BacklogKit::Response
Add a star to a wiki page.
Instance Method Details
#add_issue_comment_star(comment_id) ⇒ BacklogKit::Response
Add a star to an issue comment
19 20 21 |
# File 'lib/backlog_kit/client/star.rb', line 19 def add_issue_comment_star(comment_id) post('stars', comment_id: comment_id) end |
#add_issue_star(issue_id) ⇒ BacklogKit::Response
Add a star to an issue
11 12 13 |
# File 'lib/backlog_kit/client/star.rb', line 11 def add_issue_star(issue_id) post('stars', issue_id: issue_id) end |
#add_pull_request_comment_star(pull_request_comment_id) ⇒ BacklogKit::Response
Add a star to a pull request comment
43 44 45 |
# File 'lib/backlog_kit/client/star.rb', line 43 def add_pull_request_comment_star(pull_request_comment_id) post('stars', pull_request_comment_id: pull_request_comment_id) end |
#add_pull_request_star(pull_request_id) ⇒ BacklogKit::Response
Add a star to a pull request
35 36 37 |
# File 'lib/backlog_kit/client/star.rb', line 35 def add_pull_request_star(pull_request_id) post('stars', pull_request_id: pull_request_id) end |
#add_wiki_star(wiki_id) ⇒ BacklogKit::Response
Add a star to a wiki page
27 28 29 |
# File 'lib/backlog_kit/client/star.rb', line 27 def add_wiki_star(wiki_id) post('stars', wiki_id: wiki_id) end |