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.



1984
1985
1986
# File 'lib/FlightXML2REST.rb', line 1984

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

Instance Attribute Details

#airportObject

Returns the value of attribute airport.



1983
1984
1985
# File 'lib/FlightXML2REST.rb', line 1983

def airport
  @airport
end

Instance Method Details

#postObject



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

def post
  "airport=#@airport"
end