Method: Trainer::XCResult::IssueSummary#initialize
- Defined in:
- trainer/lib/trainer/xcresult.rb
#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 |