Class: Geocoder::Lookup::AbstractApi

Inherits:
Base
  • Object
show all
Defined in:
lib/geocoder/lookups/abstract_api.rb

Instance Method Summary collapse

Methods inherited from Base

#cache, #handle, #initialize, #map_link_url, #query_url, #search

Constructor Details

This class inherits a constructor from Geocoder::Lookup::Base

Instance Method Details

#nameObject


9
10
11
# File 'lib/geocoder/lookups/abstract_api.rb', line 9

def name
  "Abstract API"
end

#required_api_key_partsObject


13
14
15
# File 'lib/geocoder/lookups/abstract_api.rb', line 13

def required_api_key_parts
  ['api_key']
end

#supported_protocolsObject


17
18
19
# File 'lib/geocoder/lookups/abstract_api.rb', line 17

def supported_protocols
  [:https]
end