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.



452
453
454
455
# File 'lib/FlightXML2REST.rb', line 452

def initialize (arrivals = [], next_offset = nil)
  @arrivals = arrivals
  @next_offset = next_offset
end

Instance Attribute Details

#arrivalsObject

Returns the value of attribute arrivals.



451
452
453
# File 'lib/FlightXML2REST.rb', line 451

def arrivals
  @arrivals
end

#next_offsetObject

Returns the value of attribute next_offset.



451
452
453
# File 'lib/FlightXML2REST.rb', line 451

def next_offset
  @next_offset
end