Class: OSMN::Reverse

Inherits:
Base
  • Object
show all
Defined in:
lib/osmn/reverse.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #params, #params=

Constructor Details

This class inherits a constructor from OSMN::Base

Instance Method Details

#reverse_geocodeObject



4
5
6
# File 'lib/osmn/reverse.rb', line 4

def reverse_geocode
  request(:reverse) if @params[:lat] && @params[:lon]
end