Sha256: 9835c5b041c017ec540a1db76f90192a6011087e638d112f9e9d06e39371965a

Contents?: true

Size: 657 Bytes

Versions: 31

Compression:

Stored size: 657 Bytes

Contents

module Octokit
  class Client

    # Methods for the Commit Pulls API
    #
    # @see https://developer.github.com/v3/repos/comments/
    module CommitPulls

      # 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 https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit
      def commit_pulls(repo, sha, options = {})
        paginate "#{Repository.path repo}/commits/#{sha}/pulls", options
      end
    end
  end
end

Version data entries

31 entries across 19 versions & 2 rubygems

Version Path
octokit-4.24.0 lib/octokit/client/commit_pulls.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/octokit-4.23.0/lib/octokit/client/commit_pulls.rb
octokit-4.23.0 lib/octokit/client/commit_pulls.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/octokit-4.22.0/lib/octokit/client/commit_pulls.rb
octokit-4.22.0 lib/octokit/client/commit_pulls.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/octokit-4.19.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/client/commit_pulls.rb
octokit-4.21.0 lib/octokit/client/commit_pulls.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/client/commit_pulls.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/octokit/client/commit_pulls.rb