Class: TafStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(airport = nil, forecast = [], timeString = nil) ⇒ TafStruct

Returns a new instance of TafStruct.



2010
2011
2012
2013
2014
# File 'lib/FlightXML2REST.rb', line 2010

def initialize(airport = nil, forecast = [], timeString = nil)
  @airport = airport
  @forecast = forecast
  @timeString = timeString
end

Instance Attribute Details

#airportObject

Returns the value of attribute airport.



2009
2010
2011
# File 'lib/FlightXML2REST.rb', line 2009

def airport
  @airport
end

#forecastObject

Returns the value of attribute forecast.



2009
2010
2011
# File 'lib/FlightXML2REST.rb', line 2009

def forecast
  @forecast
end

#timeStringObject

Returns the value of attribute timeString.



2009
2010
2011
# File 'lib/FlightXML2REST.rb', line 2009

def timeString
  @timeString
end