class LatLongsToHeadingRequest

LatLongsToHeading

Attributes

lat1[RW]
lat2[RW]
lon1[RW]
lon2[RW]

Public Class Methods

new(lat1 = nil, lat2 = nil, lon1 = nil, lon2 = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 1732
def initialize(lat1 = nil, lat2 = nil, lon1 = nil, lon2 = nil)
  @lat1 = lat1
  @lat2 = lat2
  @lon1 = lon1
  @lon2 = lon2
end

Public Instance Methods

post() click to toggle source
# File lib/FlightXML2REST.rb, line 1738
def post
  "lat1=#@lat1&lat2=#@lat2&lon1=#@lon1&lon2=#@lon2"
end