Class: ArrivalStruct
- Inherits:
-
Object
- Object
- ArrivalStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#arrivals ⇒ Object
Returns the value of attribute arrivals.
-
#next_offset ⇒ Object
Returns the value of attribute next_offset.
Instance Method Summary collapse
-
#initialize(arrivals = [], next_offset = nil) ⇒ ArrivalStruct
constructor
A new instance of ArrivalStruct.
Constructor Details
#initialize(arrivals = [], next_offset = nil) ⇒ ArrivalStruct
Returns a new instance of ArrivalStruct.
505 506 507 508 |
# File 'lib/FlightXML2REST.rb', line 505 def initialize (arrivals = [], next_offset = nil) @arrivals = arrivals @next_offset = next_offset end |
Instance Attribute Details
#arrivals ⇒ Object
Returns the value of attribute arrivals.
504 505 506 |
# File 'lib/FlightXML2REST.rb', line 504 def arrivals @arrivals end |
#next_offset ⇒ Object
Returns the value of attribute next_offset.
504 505 506 |
# File 'lib/FlightXML2REST.rb', line 504 def next_offset @next_offset end |