Method: App42::Geo::Point#to_s

Defined in:
lib/geo/Geo.rb

#to_sObject

Returns the Geo Response in JSON format.

Returns:

  • the response in JSON format.



45
46
47
# File 'lib/geo/Geo.rb', line 45

def to_s
  return "Lat : #{@lat}" + "Long : #{@lng}" + "Marker : #{@marker}";
end