Class: Fuci::TeamCity::Project
- Inherits:
-
Struct
- Object
- Struct
- Fuci::TeamCity::Project
- Extended by:
- Forwardable
- Defined in:
- lib/fuci/team_city/project.rb
Constant Summary collapse
- RESOURCE =
lambda { |name| "/httpAuth/app/rest/projects/name:#{name}" }
Instance Attribute Summary collapse
-
#xml_doc ⇒ Object
Returns the value of attribute xml_doc.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#xml_doc ⇒ Object
Returns the value of attribute xml_doc
7 8 9 |
# File 'lib/fuci/team_city/project.rb', line 7 def xml_doc @xml_doc end |
Class Method Details
.from_name ⇒ Object
18 19 20 |
# File 'lib/fuci/team_city/project.rb', line 18 def self.from_name new xml_doc end |
Instance Method Details
#latest_build_from(branch_name) ⇒ Object
14 15 16 |
# File 'lib/fuci/team_city/project.rb', line 14 def latest_build_from branch_name builds_from(branch_name).first end |