Class: Trainer::XCResult::ActionsInvocationRecord

Inherits:
AbstractObject show all
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

Attributes inherited from AbstractObject

#type

Instance Method Summary collapse

Methods inherited from AbstractObject

#fetch_value, #fetch_values

Constructor Details

#initialize(data) ⇒ ActionsInvocationRecord

Returns a new instance of ActionsInvocationRecord.



212
213
214
215
216
217
218
# File 'trainer/lib/trainer/xcresult.rb', line 212

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

#actionsObject

Returns the value of attribute actions.



210
211
212
# File 'trainer/lib/trainer/xcresult.rb', line 210

def actions
  @actions
end

#issuesObject

Returns the value of attribute issues.



211
212
213
# File 'trainer/lib/trainer/xcresult.rb', line 211

def issues
  @issues
end