Class: Geocoder::Lookup::Pelias
- Inherits:
-
Base
- Object
- Base
- Geocoder::Lookup::Pelias
show all
- Defined in:
- lib/geocoder/lookups/pelias.rb
Instance Method Summary
collapse
Methods inherited from Base
#cache, #handle, #initialize, #map_link_url, #query_url, #search, #supported_protocols
Instance Method Details
#endpoint ⇒ Object
10
11
12
|
# File 'lib/geocoder/lookups/pelias.rb', line 10
def endpoint
configuration[:endpoint] || 'localhost'
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/geocoder/lookups/pelias.rb', line 6
def name
'Pelias'
end
|
#required_api_key_parts ⇒ Object
14
15
16
|
# File 'lib/geocoder/lookups/pelias.rb', line 14
def required_api_key_parts
['search-XXXX']
end
|