Class: TeamcityRestClient::Build

Inherits:
Struct
  • Object
show all
Defined in:
lib/teamcity-rest-client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#build_type_idObject

Returns the value of attribute build_type_id

Returns:

  • (Object)

    the current value of build_type_id



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def build_type_id
  @build_type_id
end

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def href
  @href
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def id
  @id
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def number
  @number
end

#start_dateObject

Returns the value of attribute start_date

Returns:

  • (Object)

    the current value of start_date



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def start_date
  @start_date
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def status
  @status
end

#teamcityObject

Returns the value of attribute teamcity

Returns:

  • (Object)

    the current value of teamcity



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def teamcity
  @teamcity
end

#web_urlObject

Returns the value of attribute web_url

Returns:

  • (Object)

    the current value of web_url



94
95
96
# File 'lib/teamcity-rest-client.rb', line 94

def web_url
  @web_url
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/teamcity-rest-client.rb', line 95

def success?
  status == :SUCCESS
end