class Github::GitData::Commits
def get(*args)
commits.get sha: '...'
commits = Github::Commits.new user: 'user-name', repo: 'repo-name'
github.git_data.commits.get 'user-name', 'repo-name', 'sha'
github = Github.new
= Examples
Get a commit
def get(*args) arguments(args, :required => [:user, :repo, :sha]) params = arguments.params get_request("/repos/#{user}/#{repo}/git/commits/#{sha}", params) end