forked from potsda.mn/mobilizon
98b7618338
Signed-off-by: Thomas Citharel <tcit@tcit.fr> Geospatial Backend Signed-off-by: Thomas Citharel <tcit@tcit.fr>
16 lines
383 B
Elixir
16 lines
383 B
Elixir
defmodule Mobilizon.Mobilizon.Service.Geospatial.Mock do
|
|
@moduledoc """
|
|
Mock for Geospatial Provider implementations
|
|
"""
|
|
alias Mobilizon.Service.Geospatial.Provider
|
|
alias Mobilizon.Addresses.Address
|
|
|
|
@behaviour Provider
|
|
|
|
@impl Provider
|
|
def geocode(_lon, _lat, _options \\ []), do: [%Address{}]
|
|
|
|
@impl Provider
|
|
def search(_q, _options \\ []), do: [%Address{}]
|
|
end
|