Sha256: 59964b639a0d36d63577a0976c3e116256cf86d60cfd2345620f3b613f5b3e3c
Contents?: true
Size: 379 Bytes
Versions: 10
Compression:
Stored size: 379 Bytes
Contents
module Octokit class Client module Commits def commits(repo, branch="master", options={}) get("commits/list/#{Repository.new(repo)}/#{branch}", options)['commits'] end alias :list_commits :commits def commit(repo, sha, options={}) get("commits/show/#{Repository.new(repo)}/#{sha}", options)['commits'] end end end end
Version data entries
10 entries across 10 versions & 3 rubygems