Class: ArrayOfFlightRouteStruct
- Inherits:
-
Object
- Object
- ArrayOfFlightRouteStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#next_offset ⇒ Object
Returns the value of attribute next_offset.
Instance Method Summary collapse
-
#initialize(data = [], next_offset = nil) ⇒ ArrayOfFlightRouteStruct
constructor
A new instance of ArrayOfFlightRouteStruct.
Constructor Details
#initialize(data = [], next_offset = nil) ⇒ ArrayOfFlightRouteStruct
Returns a new instance of ArrayOfFlightRouteStruct.
586 587 588 589 |
# File 'lib/FlightXML2REST.rb', line 586 def initialize (data = [], next_offset = nil) @data = data @next_offset = next_offset end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
585 586 587 |
# File 'lib/FlightXML2REST.rb', line 585 def data @data end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
585 586 587 |
# File 'lib/FlightXML2REST.rb', line 585 def next_offset @next_offset end |