Sha256: 075febf8fa0fbfc80566923e40a1dadddb5dc1b640a467ade76a2875557662f7
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
module Octokit class Client module Commits def commits(repo, branch="master", options={}) get("/api/v2/json/commits/list/#{Repository.new(repo)}/#{branch}", options)['commits'] end alias :list_commits :commits def commit(repo, sha, options={}) get("/api/v2/json/commits/show/#{Repository.new(repo)}/#{sha}", options)['commit'] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octokit-0.6.4 | lib/octokit/client/commits.rb |