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