Class: InFlightStruct
- Inherits:
-
Object
- Object
- InFlightStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#aircraft ⇒ Object
Returns the value of attribute aircraft.
-
#next_offset ⇒ Object
Returns the value of attribute next_offset.
Instance Method Summary collapse
-
#initialize(aircraft = [], next_offset = nil) ⇒ InFlightStruct
constructor
A new instance of InFlightStruct.
Constructor Details
#initialize(aircraft = [], next_offset = nil) ⇒ InFlightStruct
Returns a new instance of InFlightStruct.
2293 2294 2295 2296 |
# File 'lib/FlightXML2REST.rb', line 2293 def initialize(aircraft = [], next_offset = nil) @aircraft = aircraft @next_offset = next_offset end |
Instance Attribute Details
#aircraft ⇒ Object
Returns the value of attribute aircraft.
2292 2293 2294 |
# File 'lib/FlightXML2REST.rb', line 2292 def aircraft @aircraft end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
2292 2293 2294 |
# File 'lib/FlightXML2REST.rb', line 2292 def next_offset @next_offset end |