Class: XCResult::CodeCoverageInfo
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- XCResult::CodeCoverageInfo
- Defined in:
- lib/xcresult/models.rb
Overview
-
CodeCoverageInfo
* Kind: object * Properties: + hasCoverageData: Bool + reportRef: Reference? + archiveRef: Reference?
Instance Attribute Summary collapse
-
#archive_ref ⇒ Object
Returns the value of attribute archive_ref.
-
#has_coverage_data ⇒ Object
Returns the value of attribute has_coverage_data.
-
#report_ref ⇒ Object
Returns the value of attribute report_ref.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ CodeCoverageInfo
constructor
A new instance of CodeCoverageInfo.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ CodeCoverageInfo
Returns a new instance of CodeCoverageInfo.
304 305 306 307 308 |
# File 'lib/xcresult/models.rb', line 304 def initialize(data) self.has_coverage_data = fetch_value(data, 'hasCoverageData') self.report_ref = Reference.new(data['reportRef']) if data['reportRef'] self.archive_ref = Reference.new(data['archiveRef']) if data['archiveRef'] end |
Instance Attribute Details
#archive_ref ⇒ Object
Returns the value of attribute archive_ref.
303 304 305 |
# File 'lib/xcresult/models.rb', line 303 def archive_ref @archive_ref end |
#has_coverage_data ⇒ Object
Returns the value of attribute has_coverage_data.
301 302 303 |
# File 'lib/xcresult/models.rb', line 301 def has_coverage_data @has_coverage_data end |
#report_ref ⇒ Object
Returns the value of attribute report_ref.
302 303 304 |
# File 'lib/xcresult/models.rb', line 302 def report_ref @report_ref end |