Class: Buildbox::Build
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Buildbox::Build
- Defined in:
- lib/buildbox/build.rb
Instance Method Summary collapse
Instance Method Details
#finished? ⇒ Boolean
14 15 16 |
# File 'lib/buildbox/build.rb', line 14 def finished? !finished_at.nil? end |
#namespace ⇒ Object
18 19 20 |
# File 'lib/buildbox/build.rb', line 18 def namespace "#{project.team.id}/#{project.id}" end |
#started? ⇒ Boolean
10 11 12 |
# File 'lib/buildbox/build.rb', line 10 def started? !started_at.nil? end |
#success? ⇒ Boolean
6 7 8 |
# File 'lib/buildbox/build.rb', line 6 def success? exit_status == 0 end |