Method: LabClient::Commit#refs

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

#refs(scope = :all) ⇒ Object



11
12
13
14
15
16
# File 'lib/labclient/commits/commit.rb', line 11

def refs(scope = :all)
  # If from List Project ID isn't stored
  project_id = collect_project_id if project_id.nil?

  client.commits.refs(project_id, id, scope)
end