Sha256: 7be3bd63a7dedf6997365638c9669e5cc44cc7925f9fcd12d6be1a0311fccabb
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
module Octokit class Client module Commits def commits(repo, branch="master", options={}) options = { :per_page => 35, :sha => branch }.merge options get("/repos/#{Repository.new(repo)}/commits", options, 3) end alias :list_commits :commits def commit(repo, sha, options={}) get("/repos/#{Repository.new(repo)}/commits/#{sha}", options, 3) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octokit-0.6.5 | lib/octokit/client/commits.rb |