Class: AircraftTypeStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description = nil, manufacturer = nil, type = nil) ⇒ AircraftTypeStruct

Returns a new instance of AircraftTypeStruct.



22
23
24
25
26
# File 'lib/FlightXML2REST.rb', line 22

def initialize (description = nil, manufacturer = nil, type = nil)
  @manufacturer = manufacturer
  @type = type
  @description = description
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



21
22
23
# File 'lib/FlightXML2REST.rb', line 21

def description
  @description
end

#manufacturerObject

Returns the value of attribute manufacturer.



21
22
23
# File 'lib/FlightXML2REST.rb', line 21

def manufacturer
  @manufacturer
end

#typeObject

Returns the value of attribute type.



21
22
23
# File 'lib/FlightXML2REST.rb', line 21

def type
  @type
end