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.



35
36
37
38
39
# File 'lib/FlightXML2REST.rb', line 35

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.



34
35
36
# File 'lib/FlightXML2REST.rb', line 34

def description
  @description
end

#manufacturerObject

Returns the value of attribute manufacturer.



34
35
36
# File 'lib/FlightXML2REST.rb', line 34

def manufacturer
  @manufacturer
end

#typeObject

Returns the value of attribute type.



34
35
36
# File 'lib/FlightXML2REST.rb', line 34

def type
  @type
end