Class: Trainer::XCResult::IssueSummary
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- Trainer::XCResult::IssueSummary
- Defined in:
- trainer/lib/trainer/xcresult.rb
Overview
-
IssueSummary
-
Kind: object
-
Properties: + issueType: String + message: String + producingTarget: String? + documentLocationInCreatingWorkspace: DocumentLocation?
-
Direct Known Subclasses
Instance Attribute Summary collapse
-
#document_location_in_creating_workspace ⇒ Object
Returns the value of attribute document_location_in_creating_workspace.
-
#issue_type ⇒ Object
Returns the value of attribute issue_type.
-
#message ⇒ Object
Returns the value of attribute message.
-
#producing_target ⇒ Object
Returns the value of attribute producing_target.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ IssueSummary
constructor
A new instance of IssueSummary.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ IssueSummary
Returns a new instance of IssueSummary.
342 343 344 345 346 347 348 |
# File 'trainer/lib/trainer/xcresult.rb', line 342 def initialize(data) self.issue_type = fetch_value(data, "issueType") self. = fetch_value(data, "message") self.producing_target = fetch_value(data, "producingTarget") self.document_location_in_creating_workspace = DocumentLocation.new(data["documentLocationInCreatingWorkspace"]) if data["documentLocationInCreatingWorkspace"] super end |
Instance Attribute Details
#document_location_in_creating_workspace ⇒ Object
Returns the value of attribute document_location_in_creating_workspace.
341 342 343 |
# File 'trainer/lib/trainer/xcresult.rb', line 341 def document_location_in_creating_workspace @document_location_in_creating_workspace end |
#issue_type ⇒ Object
Returns the value of attribute issue_type.
338 339 340 |
# File 'trainer/lib/trainer/xcresult.rb', line 338 def issue_type @issue_type end |
#message ⇒ Object
Returns the value of attribute message.
339 340 341 |
# File 'trainer/lib/trainer/xcresult.rb', line 339 def @message end |
#producing_target ⇒ Object
Returns the value of attribute producing_target.
340 341 342 |
# File 'trainer/lib/trainer/xcresult.rb', line 340 def producing_target @producing_target end |