Class: Trainer::XCResult::ActionsInvocationRecord
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- Trainer::XCResult::ActionsInvocationRecord
- Defined in:
- trainer/lib/trainer/xcresult.rb
Overview
-
ActionsInvocationRecord
-
Kind: object
-
Properties: + metadataRef: Reference? + metrics: ResultMetrics + issues: ResultIssueSummaries + actions: [ActionRecord] + archive: ArchiveInfo?
-
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#issues ⇒ Object
Returns the value of attribute issues.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ ActionsInvocationRecord
constructor
A new instance of ActionsInvocationRecord.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ ActionsInvocationRecord
Returns a new instance of ActionsInvocationRecord.
216 217 218 219 220 221 222 |
# File 'trainer/lib/trainer/xcresult.rb', line 216 def initialize(data) self.actions = fetch_values(data, "actions").map do |action_data| ActionRecord.new(action_data) end self.issues = ResultIssueSummaries.new(data["issues"]) super end |
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
214 215 216 |
# File 'trainer/lib/trainer/xcresult.rb', line 214 def actions @actions end |
#issues ⇒ Object
Returns the value of attribute issues.
215 216 217 |
# File 'trainer/lib/trainer/xcresult.rb', line 215 def issues @issues end |