Class: AircraftTypeStruct
- Inherits:
-
Object
- Object
- AircraftTypeStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(description = nil, manufacturer = nil, type = nil) ⇒ AircraftTypeStruct
constructor
A new instance of AircraftTypeStruct.
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
#description ⇒ Object
Returns the value of attribute description.
34 35 36 |
# File 'lib/FlightXML2REST.rb', line 34 def description @description end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
34 35 36 |
# File 'lib/FlightXML2REST.rb', line 34 def manufacturer @manufacturer end |
#type ⇒ Object
Returns the value of attribute type.
34 35 36 |
# File 'lib/FlightXML2REST.rb', line 34 def type @type end |