Class: FlightInfoExStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flights = [], next_offset = nil) ⇒ FlightInfoExStruct

Returns a new instance of FlightInfoExStruct.



1191
1192
1193
1194
# File 'lib/FlightXML2REST.rb', line 1191

def initialize (flights = [], next_offset = nil)
  @flights = flights
  @next_offset = next_offset
end

Instance Attribute Details

#flightsObject

Returns the value of attribute flights.



1190
1191
1192
# File 'lib/FlightXML2REST.rb', line 1190

def flights
  @flights
end

#next_offsetObject

Returns the value of attribute next_offset.



1190
1191
1192
# File 'lib/FlightXML2REST.rb', line 1190

def next_offset
  @next_offset
end