Class: Geocoder::Lookup::PostcodeAnywhereUk

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

Constant Summary collapse

DAILY_LIMIT_EXEEDED_ERROR_CODES =
['8', '17']
INVALID_API_KEY_ERROR_CODE =
'2'

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

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

Instance Method Details

#nameObject



10
11
12
# File 'lib/geocoder/lookups/postcode_anywhere_uk.rb', line 10

def name
  'PostcodeAnywhereUk'
end

#required_api_key_partsObject



14
15
16
# File 'lib/geocoder/lookups/postcode_anywhere_uk.rb', line 14

def required_api_key_parts
  %w(key)
end