Class: Bitrise::BuildTriggerResult
- Inherits:
-
Object
- Object
- Bitrise::BuildTriggerResult
- Defined in:
- lib/bitrise/build_trigger_result.rb
Instance Attribute Summary collapse
-
#build_number ⇒ Object
Returns the value of attribute build_number.
-
#build_slug ⇒ Object
Returns the value of attribute build_slug.
-
#build_url ⇒ Object
Returns the value of attribute build_url.
-
#message ⇒ Object
Returns the value of attribute message.
-
#service ⇒ Object
Returns the value of attribute service.
-
#slug ⇒ Object
Returns the value of attribute slug.
-
#status ⇒ Object
Returns the value of attribute status.
-
#triggered_workflow ⇒ Object
Returns the value of attribute triggered_workflow.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ BuildTriggerResult
constructor
A new instance of BuildTriggerResult.
Constructor Details
#initialize(attrs = {}) ⇒ BuildTriggerResult
Returns a new instance of BuildTriggerResult.
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/bitrise/build_trigger_result.rb', line 4 def initialize(attrs = {}) @build_number = attrs['build_number'] @build_slug = attrs['build_slug'] @build_url = attrs['build_url'] = attrs['message'] @service = attrs['service'] @slug = attrs['slug'] @status = attrs['status'] @triggered_workflow = attrs['triggered_workflow'] end |
Instance Attribute Details
#build_number ⇒ Object
Returns the value of attribute build_number.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def build_number @build_number end |
#build_slug ⇒ Object
Returns the value of attribute build_slug.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def build_slug @build_slug end |
#build_url ⇒ Object
Returns the value of attribute build_url.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def build_url @build_url end |
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def end |
#service ⇒ Object
Returns the value of attribute service.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def service @service end |
#slug ⇒ Object
Returns the value of attribute slug.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def slug @slug end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def status @status end |
#triggered_workflow ⇒ Object
Returns the value of attribute triggered_workflow.
3 4 5 |
# File 'lib/bitrise/build_trigger_result.rb', line 3 def triggered_workflow @triggered_workflow end |