Class: CCTray::Project

Inherits:
Struct
  • Object
show all
Defined in:
lib/cctray.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#activityObject

Returns the value of attribute activity

Returns:

  • (Object)

    the current value of activity



7
8
9
# File 'lib/cctray.rb', line 7

def activity
  @activity
end

#last_build_labelObject

Returns the value of attribute last_build_label

Returns:

  • (Object)

    the current value of last_build_label



7
8
9
# File 'lib/cctray.rb', line 7

def last_build_label
  @last_build_label
end

#last_build_statusObject

Returns the value of attribute last_build_status

Returns:

  • (Object)

    the current value of last_build_status



7
8
9
# File 'lib/cctray.rb', line 7

def last_build_status
  @last_build_status
end

#last_build_time_strObject

Returns the value of attribute last_build_time_str

Returns:

  • (Object)

    the current value of last_build_time_str



7
8
9
# File 'lib/cctray.rb', line 7

def last_build_time_str
  @last_build_time_str
end

#messagesObject

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



7
8
9
# File 'lib/cctray.rb', line 7

def messages
  @messages
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/cctray.rb', line 7

def name
  @name
end

#web_urlObject

Returns the value of attribute web_url

Returns:

  • (Object)

    the current value of web_url



7
8
9
# File 'lib/cctray.rb', line 7

def web_url
  @web_url
end

Instance Method Details

#last_build_timeObject



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

def last_build_time
  @last_build_time ||= DateTime.parse(last_build_time_str)
end