Class: Geocoder::Lookup::Ipstack

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

Constant Summary collapse

ERROR_CODES =
{
  404 => Geocoder::InvalidRequest,
  101 => Geocoder::InvalidApiKey,
  102 => Geocoder::Error,
  103 => Geocoder::InvalidRequest,
  104 => Geocoder::OverQueryLimitError,
  105 => Geocoder::RequestDenied,
  301 => Geocoder::InvalidRequest,
  302 => Geocoder::InvalidRequest,
  303 => Geocoder::RequestDenied,
}

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

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

Instance Method Details

#nameObject



20
21
22
# File 'lib/geocoder/lookups/ipstack.rb', line 20

def name
  "Ipstack"
end