class App42::Geo::GeoPoint
Attributes
lat[RW]
lng[RW]
marker[RW]
Public Instance Methods
GeoPoint(lat, lng, marker)
click to toggle source
# File lib/geo/GeoPoint.rb, line 21 def GeoPoint(lat, lng, marker) @lat = lat @lng = lng @marker = marker end
getJSONObject()
click to toggle source
Values coming from response are converted into JSON format.
@return JSON Response @throws JSONException
# File lib/geo/GeoPoint.rb, line 34 def getJSONObject() obj = Hash.new obj.store("lat", lat); obj.store("lng", lng); obj.store("marker", marker); return obj end