Class: NTafRequest

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

Overview

NTaf

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(airport = nil) ⇒ NTafRequest

Returns a new instance of NTafRequest.



1988
1989
1990
# File 'lib/FlightXML2REST.rb', line 1988

def initialize(airport = nil)
  @airport = airport
end

Instance Attribute Details

#airportObject

Returns the value of attribute airport.



1987
1988
1989
# File 'lib/FlightXML2REST.rb', line 1987

def airport
  @airport
end

Instance Method Details

#postObject



1991
1992
1993
# File 'lib/FlightXML2REST.rb', line 1991

def post
  "airport=#@airport"
end