Class: XCResult::ActionTestPlanRunSummaries

Inherits:
AbstractObject show all
Defined in:
lib/xcresult/models.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.



32
33
34
35
36
37
# File 'lib/xcresult/models.rb', line 32

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.



31
32
33
# File 'lib/xcresult/models.rb', line 31

def summaries
  @summaries
end