Class: FlightInfoStruct
- Inherits:
-
Object
- Object
- FlightInfoStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#flights ⇒ Object
Returns the value of attribute flights.
-
#next_offset ⇒ Object
Returns the value of attribute next_offset.
Instance Method Summary collapse
-
#initialize(flights = [], next_offset = nil) ⇒ FlightInfoStruct
constructor
A new instance of FlightInfoStruct.
Constructor Details
#initialize(flights = [], next_offset = nil) ⇒ FlightInfoStruct
Returns a new instance of FlightInfoStruct.
967 968 969 970 |
# File 'lib/FlightXML2REST.rb', line 967 def initialize (flights = [], next_offset = nil) @flights = flights @next_offset = next_offset end |
Instance Attribute Details
#flights ⇒ Object
Returns the value of attribute flights.
966 967 968 |
# File 'lib/FlightXML2REST.rb', line 966 def flights @flights end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
966 967 968 |
# File 'lib/FlightXML2REST.rb', line 966 def next_offset @next_offset end |