Class: Geocoder::Lookup::Osmnames
- Inherits:
-
Base
- Object
- Base
- Geocoder::Lookup::Osmnames
show all
- Defined in:
- lib/geocoder/lookups/osmnames.rb
Instance Method Summary
collapse
Methods inherited from Base
#cache, #handle, #initialize, #map_link_url, #query_url, #search
Instance Method Details
#name ⇒ Object
8
9
10
|
# File 'lib/geocoder/lookups/osmnames.rb', line 8
def name
'OSM Names'
end
|
#required_api_key_parts ⇒ Object
12
13
14
|
# File 'lib/geocoder/lookups/osmnames.rb', line 12
def required_api_key_parts
configuration[:host] ? [] : ['key']
end
|
#supported_protocols ⇒ Object
16
17
18
|
# File 'lib/geocoder/lookups/osmnames.rb', line 16
def supported_protocols
[:https]
end
|