Class: Geocoder::Lookup::PcMiler
- Defined in:
- lib/geocoder/lookups/pc_miler.rb
Instance Method Summary collapse
Methods inherited from Base
#cache, #handle, #initialize, #map_link_url, #query_url, #required_api_key_parts, #search
Constructor Details
This class inherits a constructor from Geocoder::Lookup::Base
Instance Method Details
#name ⇒ Object
19 20 21 |
# File 'lib/geocoder/lookups/pc_miler.rb', line 19 def name "PCMiler" end |
#valid_region_codes ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/geocoder/lookups/pc_miler.rb', line 9 def valid_region_codes # AF: Africa # AS: Asia # EU: Europe # NA: North America # OC: Oceania # SA: South America %w[AF AS EU NA OC SA] end |