class Github::PullRequests

def update(*args)


"state" => "open",
"body" => "Update body",
"title" => "Amazing new title",
github.pull_requests.update 'user-name', 'repo-name', 'number'
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(*args)
  arguments(args, :required => [:user, :repo, :number]) do
    sift VALID_REQUEST_PARAM_NAMES
    assert_values VALID_REQUEST_PARAM_VALUES
  end
  patch_request("/repos/#{user}/#{repo}/pulls/#{number}", arguments.params)
end