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.
299 300 301 302 303 |
# File 'lib/xcresult/models.rb', line 299 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.
298 299 300 |
# File 'lib/xcresult/models.rb', line 298 def archive_ref @archive_ref end |
#has_coverage_data ⇒ Object
Returns the value of attribute has_coverage_data.
296 297 298 |
# File 'lib/xcresult/models.rb', line 296 def has_coverage_data @has_coverage_data end |
#report_ref ⇒ Object
Returns the value of attribute report_ref.
297 298 299 |
# File 'lib/xcresult/models.rb', line 297 def report_ref @report_ref end |