Class: CCTray::Project
- Inherits:
-
Struct
- Object
- Struct
- CCTray::Project
- Defined in:
- lib/cctray.rb
Instance Attribute Summary collapse
-
#activity ⇒ Object
Returns the value of attribute activity.
-
#last_build_label ⇒ Object
Returns the value of attribute last_build_label.
-
#last_build_status ⇒ Object
Returns the value of attribute last_build_status.
-
#last_build_time_str ⇒ Object
Returns the value of attribute last_build_time_str.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#name ⇒ Object
Returns the value of attribute name.
-
#web_url ⇒ Object
Returns the value of attribute web_url.
Instance Method Summary collapse
Instance Attribute Details
#activity ⇒ Object
Returns the value of attribute activity
7 8 9 |
# File 'lib/cctray.rb', line 7 def activity @activity end |
#last_build_label ⇒ Object
Returns the value of attribute last_build_label
7 8 9 |
# File 'lib/cctray.rb', line 7 def last_build_label @last_build_label end |
#last_build_status ⇒ Object
Returns the value of attribute last_build_status
7 8 9 |
# File 'lib/cctray.rb', line 7 def last_build_status @last_build_status end |
#last_build_time_str ⇒ Object
Returns the value of attribute last_build_time_str
7 8 9 |
# File 'lib/cctray.rb', line 7 def last_build_time_str @last_build_time_str end |
#messages ⇒ Object
Returns the value of attribute messages
7 8 9 |
# File 'lib/cctray.rb', line 7 def end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/cctray.rb', line 7 def name @name end |
#web_url ⇒ Object
Returns the value of attribute web_url
7 8 9 |
# File 'lib/cctray.rb', line 7 def web_url @web_url end |
Instance Method Details
#last_build_time ⇒ Object
14 15 16 |
# File 'lib/cctray.rb', line 14 def last_build_time @last_build_time ||= DateTime.parse(last_build_time_str) end |