module Octokit::Client::CommitPulls
Methods for the Commit Pulls API
Public Instance Methods
commit_pulls(repo, sha, options = {})
click to toggle source
List pulls for a single commit
@param repo [Integer, String, Hash, Repository] A GitHub repository @param sha [String] The SHA of the commit whose pulls will be fetched @return [Array] List of commit pulls @see developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit
# File lib/octokit/client/commit_pulls.rb, line 15 def commit_pulls(repo, sha, options = {}) paginate "#{Repository.path repo}/commits/#{sha}/pulls", options end