Class: XCResult::IssueSummary

Inherits:
AbstractObject show all
Defined in:
lib/xcresult/models.rb

Overview

  • IssueSummary

    • Kind: object

    • Properties: + issueType: String + message: String + producingTarget: String? + documentLocationInCreatingWorkspace: DocumentLocation?

Direct Known Subclasses

TestFailureIssueSummary

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) ⇒ IssueSummary

Returns a new instance of IssueSummary.



368
369
370
371
372
373
374
# File 'lib/xcresult/models.rb', line 368

def initialize(data)
  self.issue_type = fetch_value(data, 'issueType')
  self.message = 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_workspaceObject

Returns the value of attribute document_location_in_creating_workspace.



367
368
369
# File 'lib/xcresult/models.rb', line 367

def document_location_in_creating_workspace
  @document_location_in_creating_workspace
end

#issue_typeObject

Returns the value of attribute issue_type.



364
365
366
# File 'lib/xcresult/models.rb', line 364

def issue_type
  @issue_type
end

#messageObject

Returns the value of attribute message.



365
366
367
# File 'lib/xcresult/models.rb', line 365

def message
  @message
end

#producing_targetObject

Returns the value of attribute producing_target.



366
367
368
# File 'lib/xcresult/models.rb', line 366

def producing_target
  @producing_target
end