Class: Gitabu::Api::V3::Reactions
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Reactions
- Defined in:
- lib/gitabu/api/v3/reactions.rb
Overview
Reactions endpoints.
Class Method Summary collapse
- .create_reaction_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_release(owner: nil, repo: nil, release_id: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_an_issue(owner: nil, repo: nil, issue_number: nil, content: nil, options: nil) ⇒ Object
- .create_reaction_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
- .delete_a_commit_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_a_pull_request_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_a_release_reaction(owner: nil, repo: nil, release_id: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_an_issue_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_an_issue_reaction(owner: nil, repo: nil, issue_number: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_team_discussion_comment_reaction(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, reaction_id: nil, options: nil) ⇒ Object
- .delete_team_discussion_reaction(org: nil, team_slug: nil, discussion_number: nil, reaction_id: nil, options: nil) ⇒ Object
- .list_reactions_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
- .list_reactions_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
- .list_reactions_for_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
- .list_reactions_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
- .list_reactions_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .list_reactions_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .list_reactions_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
- .list_reactions_for_an_issue(owner: nil, repo: nil, issue_number: nil, options: nil) ⇒ Object
- .list_reactions_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
Class Method Details
.create_reaction_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
66 67 68 |
# File 'lib/gitabu/api/v3/reactions.rb', line 66 def self.create_reaction_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) new.create_reaction_for_a_commit_comment(owner, repo, comment_id, content, ) end |
.create_reaction_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
102 103 104 |
# File 'lib/gitabu/api/v3/reactions.rb', line 102 def self.create_reaction_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) new.create_reaction_for_a_pull_request_review_comment(owner, repo, comment_id, content, ) end |
.create_reaction_for_a_release(owner: nil, repo: nil, release_id: nil, content: nil, options: nil) ⇒ Object
114 115 116 |
# File 'lib/gitabu/api/v3/reactions.rb', line 114 def self.create_reaction_for_a_release(owner: nil, repo: nil, release_id: nil, content: nil, options: nil) new.create_reaction_for_a_release(owner, repo, release_id, content, ) end |
.create_reaction_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, content: nil, options: nil) ⇒ Object
54 55 56 |
# File 'lib/gitabu/api/v3/reactions.rb', line 54 def self.create_reaction_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, content: nil, options: nil) new.create_reaction_for_a_team_discussion(org, team_slug, discussion_number, content, ) end |
.create_reaction_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) ⇒ Object
42 43 44 |
# File 'lib/gitabu/api/v3/reactions.rb', line 42 def self.create_reaction_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) new.create_reaction_for_a_team_discussion_comment(org, team_slug, discussion_number, comment_number, content, ) end |
.create_reaction_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) ⇒ Object
126 127 128 |
# File 'lib/gitabu/api/v3/reactions.rb', line 126 def self.create_reaction_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, content: nil, options: nil) new.create_reaction_for_a_team_discussion_comment_legacy(team_id, discussion_number, comment_number, content, ) end |
.create_reaction_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, content: nil, options: nil) ⇒ Object
134 135 136 |
# File 'lib/gitabu/api/v3/reactions.rb', line 134 def self.create_reaction_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, content: nil, options: nil) new.create_reaction_for_a_team_discussion_legacy(team_id, discussion_number, content, ) end |
.create_reaction_for_an_issue(owner: nil, repo: nil, issue_number: nil, content: nil, options: nil) ⇒ Object
90 91 92 |
# File 'lib/gitabu/api/v3/reactions.rb', line 90 def self.create_reaction_for_an_issue(owner: nil, repo: nil, issue_number: nil, content: nil, options: nil) new.create_reaction_for_an_issue(owner, repo, issue_number, content, ) end |
.create_reaction_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) ⇒ Object
78 79 80 |
# File 'lib/gitabu/api/v3/reactions.rb', line 78 def self.create_reaction_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, content: nil, options: nil) new.create_reaction_for_an_issue_comment(owner, repo, comment_id, content, ) end |
.delete_a_commit_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
70 71 72 |
# File 'lib/gitabu/api/v3/reactions.rb', line 70 def self.delete_a_commit_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) new.delete_a_commit_comment_reaction(owner, repo, comment_id, reaction_id, ) end |
.delete_a_pull_request_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
106 107 108 |
# File 'lib/gitabu/api/v3/reactions.rb', line 106 def self.delete_a_pull_request_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) new.delete_a_pull_request_comment_reaction(owner, repo, comment_id, reaction_id, ) end |
.delete_a_release_reaction(owner: nil, repo: nil, release_id: nil, reaction_id: nil, options: nil) ⇒ Object
118 119 120 |
# File 'lib/gitabu/api/v3/reactions.rb', line 118 def self.delete_a_release_reaction(owner: nil, repo: nil, release_id: nil, reaction_id: nil, options: nil) new.delete_a_release_reaction(owner, repo, release_id, reaction_id, ) end |
.delete_an_issue_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) ⇒ Object
82 83 84 |
# File 'lib/gitabu/api/v3/reactions.rb', line 82 def self.delete_an_issue_comment_reaction(owner: nil, repo: nil, comment_id: nil, reaction_id: nil, options: nil) new.delete_an_issue_comment_reaction(owner, repo, comment_id, reaction_id, ) end |
.delete_an_issue_reaction(owner: nil, repo: nil, issue_number: nil, reaction_id: nil, options: nil) ⇒ Object
94 95 96 |
# File 'lib/gitabu/api/v3/reactions.rb', line 94 def self.delete_an_issue_reaction(owner: nil, repo: nil, issue_number: nil, reaction_id: nil, options: nil) new.delete_an_issue_reaction(owner, repo, issue_number, reaction_id, ) end |
.delete_team_discussion_comment_reaction(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, reaction_id: nil, options: nil) ⇒ Object
46 47 48 |
# File 'lib/gitabu/api/v3/reactions.rb', line 46 def self.delete_team_discussion_comment_reaction(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, reaction_id: nil, options: nil) new.delete_team_discussion_comment_reaction(org, team_slug, discussion_number, comment_number, reaction_id, ) end |
.delete_team_discussion_reaction(org: nil, team_slug: nil, discussion_number: nil, reaction_id: nil, options: nil) ⇒ Object
58 59 60 |
# File 'lib/gitabu/api/v3/reactions.rb', line 58 def self.delete_team_discussion_reaction(org: nil, team_slug: nil, discussion_number: nil, reaction_id: nil, options: nil) new.delete_team_discussion_reaction(org, team_slug, discussion_number, reaction_id, ) end |
.list_reactions_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
62 63 64 |
# File 'lib/gitabu/api/v3/reactions.rb', line 62 def self.list_reactions_for_a_commit_comment(owner: nil, repo: nil, comment_id: nil, options: nil) new.list_reactions_for_a_commit_comment(owner, repo, comment_id, ) end |
.list_reactions_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
98 99 100 |
# File 'lib/gitabu/api/v3/reactions.rb', line 98 def self.list_reactions_for_a_pull_request_review_comment(owner: nil, repo: nil, comment_id: nil, options: nil) new.list_reactions_for_a_pull_request_review_comment(owner, repo, comment_id, ) end |
.list_reactions_for_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
110 111 112 |
# File 'lib/gitabu/api/v3/reactions.rb', line 110 def self.list_reactions_for_a_release(owner: nil, repo: nil, release_id: nil, options: nil) new.list_reactions_for_a_release(owner, repo, release_id, ) end |
.list_reactions_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
50 51 52 |
# File 'lib/gitabu/api/v3/reactions.rb', line 50 def self.list_reactions_for_a_team_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) new.list_reactions_for_a_team_discussion(org, team_slug, discussion_number, ) end |
.list_reactions_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
38 39 40 |
# File 'lib/gitabu/api/v3/reactions.rb', line 38 def self.list_reactions_for_a_team_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) new.list_reactions_for_a_team_discussion_comment(org, team_slug, discussion_number, comment_number, ) end |
.list_reactions_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
122 123 124 |
# File 'lib/gitabu/api/v3/reactions.rb', line 122 def self.list_reactions_for_a_team_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) new.list_reactions_for_a_team_discussion_comment_legacy(team_id, discussion_number, comment_number, ) end |
.list_reactions_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
130 131 132 |
# File 'lib/gitabu/api/v3/reactions.rb', line 130 def self.list_reactions_for_a_team_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) new.list_reactions_for_a_team_discussion_legacy(team_id, discussion_number, ) end |
.list_reactions_for_an_issue(owner: nil, repo: nil, issue_number: nil, options: nil) ⇒ Object
86 87 88 |
# File 'lib/gitabu/api/v3/reactions.rb', line 86 def self.list_reactions_for_an_issue(owner: nil, repo: nil, issue_number: nil, options: nil) new.list_reactions_for_an_issue(owner, repo, issue_number, ) end |
.list_reactions_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, options: nil) ⇒ Object
74 75 76 |
# File 'lib/gitabu/api/v3/reactions.rb', line 74 def self.list_reactions_for_an_issue_comment(owner: nil, repo: nil, comment_id: nil, options: nil) new.list_reactions_for_an_issue_comment(owner, repo, comment_id, ) end |