Method: Github::Client::PullRequests::Reviews#update
- Defined in:
- lib/github_api/client/pull_requests/reviews.rb
#update(*args) ⇒ Object
Update a pull request review
112 113 114 115 116 117 118 119 |
# File 'lib/github_api/client/pull_requests/reviews.rb', line 112 def update(*args) arguments(args, required: [:user, :repo, :number, :id]) params = arguments.params params["accept"] ||= PREVIEW_MEDIA post_request("/repos/#{arguments.user}/#{arguments.repo}/pulls/#{arguments.number}/reviews/#{arguments.id}/events", params) end |