Change place lib repository

This commit is contained in:
Xavier J 2016-12-02 17:03:52 +01:00
parent 27cc62ea1e
commit 1a3e23c6ef
21 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,11 @@
module Carto
# this class take a string in input and return a point
class Geocodeur
def self.convert_adresse_to_point(address)
Carto::Bano::PointRetriever.new(address).point
rescue RestClient::Exception, JSON::ParserError => e
Rails.logger.error e.message
nil
end
end
end