class MetarExRequest

MetarEx

Attributes

airport[RW]
howMany[RW]
offset[RW]
startTime[RW]

Public Class Methods

new(airport = nil, startTime = nil, howMany = nil, offset = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 1877
def initialize(airport = nil, startTime = nil, howMany = nil, offset = nil)
  @airport = airport
  @startTime = startTime
  @howMany = howMany
  @offset = offset
end

Public Instance Methods

post() click to toggle source
# File lib/FlightXML2REST.rb, line 1883
def post
  "airport=#@airport&startTime=#@startTime&howMany=#@howMany&offset=#@offset"
end