Method: Cnvrg::Datafiles#get_commit

Defined in:
lib/cnvrg/datafiles.rb

#get_commit(commit_sha1) ⇒ Object



823
824
825
826
827
# File 'lib/cnvrg/datafiles.rb', line 823

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