module Octokit::Client::Reviews
def update_pull_request_review(repo, number, review, body, options = {})
-
(Sawyer::Resource)- Hash representing the review comment
Other tags:
- See: https://developer.github.com/v3/pulls/reviews/#update-a-pull-request-review -
Parameters:
-
options(Hash) -- Method options -
body(String) -- body text of the pull request review. -
review(Integer) -- The id of the review -
number(Integer) -- Number ID of the pull request -
repo(Integer, String, Hash, Repository) -- A GitHub repository
def update_pull_request_review(repo, number, review, body, options = {}) options[:body] = body put "#{Repository.path repo}/pulls/#{number}/reviews/#{review}", options end