Class: Trainer::XCResult::ActionTestPlanRunSummaries

Inherits:
AbstractObject show all
Defined in:
trainer/lib/trainer/xcresult.rb

Overview

  • ActionTestPlanRunSummaries

    • Kind: object

    • Properties: + summaries: [ActionTestPlanRunSummary]

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) ⇒ ActionTestPlanRunSummaries

Returns a new instance of ActionTestPlanRunSummaries.



27
28
29
30
31
32
# File 'trainer/lib/trainer/xcresult.rb', line 27

def initialize(data)
  self.summaries = fetch_values(data, "summaries").map do |summary_data|
    ActionTestPlanRunSummary.new(summary_data)
  end
  super
end

Instance Attribute Details

#summariesObject

Returns the value of attribute summaries.



26
27
28
# File 'trainer/lib/trainer/xcresult.rb', line 26

def summaries
  @summaries
end