Remove comments in ApiAdresse
This commit is contained in:
parent
8b4ba42f15
commit
831cd56b95
4 changed files with 0 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
||||||
module ApiAdresse
|
module ApiAdresse
|
||||||
# input : address
|
|
||||||
# output : Array List label address
|
|
||||||
class AddressRetriever
|
class AddressRetriever
|
||||||
def initialize(address)
|
def initialize(address)
|
||||||
@address = address
|
@address = address
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
class ApiAdresse::API
|
class ApiAdresse::API
|
||||||
# input : string (address)
|
|
||||||
# output : json
|
|
||||||
def self.call(address, limit = 1)
|
def self.call(address, limit = 1)
|
||||||
search_url = [API_ADRESSE_URL, "search"].join("/")
|
search_url = [API_ADRESSE_URL, "search"].join("/")
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
module ApiAdresse
|
module ApiAdresse
|
||||||
# this class take a string in input and return a point
|
|
||||||
class Geocodeur
|
class Geocodeur
|
||||||
def self.convert_adresse_to_point(address)
|
def self.convert_adresse_to_point(address)
|
||||||
ApiAdresse::PointRetriever.new(address).point
|
ApiAdresse::PointRetriever.new(address).point
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
module ApiAdresse
|
module ApiAdresse
|
||||||
# input : address
|
|
||||||
# output : point RGeo::Cartesian::PointImpl
|
|
||||||
class PointRetriever
|
class PointRetriever
|
||||||
def initialize(address)
|
def initialize(address)
|
||||||
@address = address
|
@address = address
|
||||||
|
|
Loading…
Add table
Reference in a new issue