Class: DepartureStruct
- Inherits:
-
Object
- Object
- DepartureStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#departures ⇒ Object
Returns the value of attribute departures.
-
#next_offset ⇒ Object
Returns the value of attribute next_offset.
Instance Method Summary collapse
-
#initialize(departures = [], next_offset = nil) ⇒ DepartureStruct
constructor
A new instance of DepartureStruct.
Constructor Details
#initialize(departures = [], next_offset = nil) ⇒ DepartureStruct
Returns a new instance of DepartureStruct.
763 764 765 766 |
# File 'lib/FlightXML2REST.rb', line 763 def initialize (departures = [], next_offset = nil) @departures = departures @next_offset = next_offset end |
Instance Attribute Details
#departures ⇒ Object
Returns the value of attribute departures.
762 763 764 |
# File 'lib/FlightXML2REST.rb', line 762 def departures @departures end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
762 763 764 |
# File 'lib/FlightXML2REST.rb', line 762 def next_offset @next_offset end |