module Gitlab::Client::Commits
def commit(project, sha)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
sha
(String
) -- The commit hash or name of a repository branch or tag -
project
(Integer, String
) -- The ID or name of a project.
def commit(project, sha) get("/projects/#{url_encode project}/repository/commits/#{sha}") end