Method: Octokit::Client::Pulls#pull_request

Defined in:
lib/octokit/client/pulls.rb

#pull_request(repo, number, options = {}) ⇒ Object Also known as: pull



19
20
21
# File 'lib/octokit/client/pulls.rb', line 19

def pull_request(repo, number, options={})
  get("pulls/#{Repository.new(repo)}/#{number}", options)['pull']
end