class Github::PullRequests

def update(user_name, repo_name, request_id, params={})


"state" => "open",
"body" => "Update body",
"title" => "Amazing new title",
github.pull_requests.update 'user-name', 'repo-name', 'request-id'
github = Github.new :oauth_token => '...'
= Examples

* :state - Optional string - State of this Pull Request. Valid values are open and closed.
* :body - Optional string
* :title - Optional string
= Inputs

Update a pull request
def update(user_name, repo_name, request_id, params={})
  _update_user_repo_params(user_name, repo_name)
  _validate_user_repo_params(user, repo) unless user? && repo?
  _validate_presence_of request_id
  normalize! params
  filter! VALID_REQUEST_PARAM_NAMES, params
  # _merge_mime_type(:pull_request, params)
  assert_valid_values(VALID_REQUEST_PARAM_VALUES, params)
  patch_request("/repos/#{user}/#{repo}/pulls/#{request_id}", params)
end