Method: Cnvrg::Datafiles#get_commit

Defined in:
lib/cnvrg/datafiles.rb

#get_commit(commit_sha1) ⇒ Object



1241
1242
1243
1244
1245
# File 'lib/cnvrg/datafiles.rb', line 1241

def get_commit(commit_sha1)
  response = Cnvrg::API.request("#{base_resource}/commit/#{commit_sha1}", 'GET')
  Cnvrg::CLI.is_response_success(response, true)
  return response
end