Class: DepartureStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#departuresObject

Returns the value of attribute departures.



762
763
764
# File 'lib/FlightXML2REST.rb', line 762

def departures
  @departures
end

#next_offsetObject

Returns the value of attribute next_offset.



762
763
764
# File 'lib/FlightXML2REST.rb', line 762

def next_offset
  @next_offset
end