Class: FlightInfoExStruct
- Inherits:
-
Object
- Object
- FlightInfoExStruct
- 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) ⇒ FlightInfoExStruct
constructor
A new instance of FlightInfoExStruct.
Constructor Details
#initialize(flights = [], next_offset = nil) ⇒ FlightInfoExStruct
Returns a new instance of FlightInfoExStruct.
1083 1084 1085 1086 |
# File 'lib/FlightXML2REST.rb', line 1083 def initialize (flights = [], next_offset = nil) @flights = flights @next_offset = next_offset end |
Instance Attribute Details
#flights ⇒ Object
Returns the value of attribute flights.
1082 1083 1084 |
# File 'lib/FlightXML2REST.rb', line 1082 def flights @flights end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
1082 1083 1084 |
# File 'lib/FlightXML2REST.rb', line 1082 def next_offset @next_offset end |