Class: RightHook::Commenter
- Inherits:
-
AuthenticatedClient
- Object
- AuthenticatedClient
- RightHook::Commenter
- Defined in:
- lib/right_hook/commenter.rb
Overview
Provides an interface for adding comments on GitHub
Instance Method Summary collapse
Methods inherited from AuthenticatedClient
Constructor Details
This class inherits a constructor from RightHook::AuthenticatedClient
Instance Method Details
#comment_on_issue(owner, repo_name, issue_number, comment) ⇒ Object
7 8 9 |
# File 'lib/right_hook/commenter.rb', line 7 def comment_on_issue(owner, repo_name, issue_number, comment) client.add_comment("#{owner}/#{repo_name}", issue_number, comment) end |