class Fuci::TeamCity::Builds
Public Class Methods
from_resource(resource)
click to toggle source
# File lib/fuci/team_city/builds.rb, line 16 def self.from_resource resource new xml_doc(resource) end
Private Class Methods
xml_doc(resource)
click to toggle source
# File lib/fuci/team_city/builds.rb, line 22 def self.xml_doc resource XmlDocBuilder.from_resource resource end
Public Instance Methods
each() { |build| ... }
click to toggle source
# File lib/fuci/team_city/builds.rb, line 12 def each xpath('//build').each { |element| yield Build.new(element) } end