Class: TFS::Branches

Inherits:
Queryable show all
Defined in:
lib/tfs/branches.rb

Constant Summary

Constants inherited from Queryable

Queryable::RecordNotFound

Constants included from ClassHelpers

ClassHelpers::SPECIAL_CASES

Class Method Summary collapse

Methods inherited from Queryable

all, inherited, odata_query

Methods included from ClassHelpers

#base_class, #method_name_from_class, #odata_class_from_method_name

Class Method Details

.find(path) ⇒ Object

Branch can be found by path of the form $>Collection>Project

TFS::Branches.find($>DefaultCollection>Project)


14
15
16
# File 'lib/tfs/branches.rb', line 14

def find(path)
  TFS.branches(path).run.first
end