Class: GitComitter::Stage
- Inherits:
-
Object
- Object
- GitComitter::Stage
- Defined in:
- lib/git-comitter/cruise.rb
Instance Method Summary collapse
-
#initialize(cruise_url, pipeline_name, stage_name) ⇒ Stage
constructor
A new instance of Stage.
- #should_not_checkin? ⇒ Boolean
- #stage_status ⇒ Object
Constructor Details
Instance Method Details
#should_not_checkin? ⇒ Boolean
49 50 51 |
# File 'lib/git-comitter/cruise.rb', line 49 def should_not_checkin? stage_status != 'passed' end |
#stage_status ⇒ Object
54 55 56 57 |
# File 'lib/git-comitter/cruise.rb', line 54 def stage_status @stage_status=@cruise.status @stage_name if @stage_status == nil @stage_status end |