lib/regio/reverse_geocode.rb in regio-0.2.0 vs lib/regio/reverse_geocode.rb in regio-0.3.0
- old
+ new
@@ -11,10 +11,10 @@
end
private
def response
- run('/revgeocode', options)
+ @response ||= run('/revgeocode', options)
end
# NOTE: all options described in the documentation
# https://api.regio.ee/documentation/#docs/reverse_geocode
def default_options