Class: ArrivalStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#arrivalsObject

Returns the value of attribute arrivals.



504
505
506
# File 'lib/FlightXML2REST.rb', line 504

def arrivals
  @arrivals
end

#next_offsetObject

Returns the value of attribute next_offset.



504
505
506
# File 'lib/FlightXML2REST.rb', line 504

def next_offset
  @next_offset
end