Method: Octokit::Client::Pulls#pull_requests
- Defined in:
- lib/octokit/client/pulls.rb
#pull_requests(repo, state = 'open', options = {}) ⇒ Object Also known as: pulls
14 15 16 |
# File 'lib/octokit/client/pulls.rb', line 14 def pull_requests(repo, state='open', ={}) get("pulls/#{Repository.new(repo)}/#{state}", )['pulls'] end |