Class: TFS::Projects

Inherits:
Queryable show all
Defined in:
lib/tfs/projects.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(name) ⇒ Object

Projects can be found by name alone

TFS::Projects.find("BFG")


16
17
18
# File 'lib/tfs/projects.rb', line 16

def find(name)
  TFS.projects(name).run.first
end