Method: Michael::Services::Github::PullRequests#search
- Defined in:
- lib/michael/services/github/pull_requests.rb
#search(org_repo, state: 'open') ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/michael/services/github/pull_requests.rb', line 12 def search(org_repo, state: 'open') octokit .pull_requests(org_repo, state: state) .map { |pr| process(org_repo, pr) } rescue Octokit::InvalidRepository, Octokit::NotFound nil end |