Method: LabClient::Commits#refs

Defined in:
lib/labclient/commits/refs.rb

#refs(project_id, commit_id, scope = :all) ⇒ Object



37
38
39
40
41
42
# File 'lib/labclient/commits/refs.rb', line 37

def refs(project_id, commit_id, scope = :all)
  project_id = format_id(project_id)
  commit_id = format_id(commit_id)

  client.request(:get, "projects/#{project_id}/repository/commits/#{commit_id}/refs", body: { scope: scope })
end