Method: LabClient::Commits#show
- Defined in:
- lib/labclient/commits/show.rb
#show(project_id, commit_id, query = {}) ⇒ Object
Show
28 29 30 31 32 |
# File 'lib/labclient/commits/show.rb', line 28 def show(project_id, commit_id, query = {}) project_id = format_id(project_id) client.request(:get, "projects/#{project_id}/repository/commits/#{commit_id}", klass: Commit, body: query) end |