Method: Cnvrg::Datafiles#get_commit

Defined in:
lib/cnvrg/datafiles.rb

#get_commit(commit_sha1) ⇒ Object



880
881
882
883
884
# File 'lib/cnvrg/datafiles.rb', line 880

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