class XCResult::TypeDefinition

Attributes

name[RW]
supertype[RW]

Public Class Methods

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