Class: GoApiClient::Domain::Stage
- Inherits:
-
AttributeHelper
- Object
- AttributeHelper
- GoApiClient::Domain::Stage
- Defined in:
- lib/go_api_client/domain/stage.rb
Instance Attribute Summary collapse
-
#approved_by ⇒ Object
Tags.
-
#counter ⇒ Object
Self attributes.
-
#id ⇒ Object
Tags.
-
#jobs ⇒ Object
Tags.
-
#name ⇒ Object
Self attributes.
-
#parsed_jobs ⇒ Object
Parsed object.
-
#parsed_pipeline ⇒ Object
Parsed object.
-
#pipeline_counter ⇒ Object
Pipeline tag.
-
#pipeline_label ⇒ Object
Pipeline tag.
-
#pipeline_name ⇒ Object
Pipeline tag.
-
#pipeline_uri ⇒ Object
Pipeline tag.
-
#result ⇒ Object
Tags.
-
#self_uri ⇒ Object
Tags.
-
#state ⇒ Object
Tags.
-
#updated ⇒ Object
Tags.
Instance Method Summary collapse
- #failed? ⇒ Boolean
-
#initialize(attributes = {}) ⇒ Stage
constructor
A new instance of Stage.
- #passed? ⇒ Boolean
Constructor Details
#initialize(attributes = {}) ⇒ Stage
Returns a new instance of Stage.
14 15 16 |
# File 'lib/go_api_client/domain/stage.rb', line 14 def initialize(attributes={}) super(attributes) end |
Instance Attribute Details
#approved_by ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def approved_by @approved_by end |
#counter ⇒ Object
Self attributes
6 7 8 |
# File 'lib/go_api_client/domain/stage.rb', line 6 def counter @counter end |
#id ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def id @id end |
#jobs ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def jobs @jobs end |
#name ⇒ Object
Self attributes
6 7 8 |
# File 'lib/go_api_client/domain/stage.rb', line 6 def name @name end |
#parsed_jobs ⇒ Object
Parsed object
12 13 14 |
# File 'lib/go_api_client/domain/stage.rb', line 12 def parsed_jobs @parsed_jobs end |
#parsed_pipeline ⇒ Object
Parsed object
12 13 14 |
# File 'lib/go_api_client/domain/stage.rb', line 12 def parsed_pipeline @parsed_pipeline end |
#pipeline_counter ⇒ Object
Pipeline tag
10 11 12 |
# File 'lib/go_api_client/domain/stage.rb', line 10 def pipeline_counter @pipeline_counter end |
#pipeline_label ⇒ Object
Pipeline tag
10 11 12 |
# File 'lib/go_api_client/domain/stage.rb', line 10 def pipeline_label @pipeline_label end |
#pipeline_name ⇒ Object
Pipeline tag
10 11 12 |
# File 'lib/go_api_client/domain/stage.rb', line 10 def pipeline_name @pipeline_name end |
#pipeline_uri ⇒ Object
Pipeline tag
10 11 12 |
# File 'lib/go_api_client/domain/stage.rb', line 10 def pipeline_uri @pipeline_uri end |
#result ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def result @result end |
#self_uri ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def self_uri @self_uri end |
#state ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def state @state end |
#updated ⇒ Object
Tags
8 9 10 |
# File 'lib/go_api_client/domain/stage.rb', line 8 def updated @updated end |
Instance Method Details
#failed? ⇒ Boolean
18 19 20 |
# File 'lib/go_api_client/domain/stage.rb', line 18 def failed? 'Failed' == @result end |
#passed? ⇒ Boolean
22 23 24 |
# File 'lib/go_api_client/domain/stage.rb', line 22 def passed? !failed? end |