class RightHook::Commenter
Provides an interface for adding comments on GitHub
Public Instance Methods
comment_on_issue(owner, repo_name, issue_number, comment)
click to toggle source
# File lib/right_hook/commenter.rb, line 8 def comment_on_issue(owner, repo_name, issue_number, comment) result = client.add_comment("#{owner}/#{repo_name}", issue_number, comment) RightHook.logger.info("Result of comment_on_issue: #{result}") end