class XCResult::Reference

Attributes

id[RW]
target_type[RW]

Public Class Methods

new(data) click to toggle source
Calls superclass method XCResult::AbstractObject::new
# File lib/xcresult/models.rb, line 319
def initialize(data)
  self.id = fetch_value(data, 'id')
  self.target_type = TypeDefinition.new(data['targetType']) if data['targetType']
  super
end