Module: IPinfo
- Includes:
- CountriesData
- Included in:
- IPinfo
- Defined in:
- lib/ipinfo.rb,
lib/ipinfo/mod.rb,
lib/ipinfo/version.rb
Defined Under Namespace
Classes: Adapter, CacheInterface, DefaultCache, IPinfo, IpAddressMatcher, RateLimitError, Response
Constant Summary collapse
- DEFAULT_CACHE_MAXSIZE =
4096
- DEFAULT_CACHE_TTL =
60 * 60 * 24
- RATE_LIMIT_MESSAGE =
'To increase your limits, please review our ' \ 'paid plans at https://ipinfo.io/pricing'
- COUNTRY_FLAGS_URL =
Base URL to get country flag image link. âPKâ -> âcdn.ipinfo.io/static/images/countries-flags/PK.svgâ
"https://cdn.ipinfo.io/static/images/countries-flags/"
- VERSION =
'2.2.1'
Constants included from CountriesData
CountriesData::DEFAULT_CONTINENT_LIST, CountriesData::DEFAULT_COUNTRIES_CURRENCIES_LIST, CountriesData::DEFAULT_COUNTRIES_FLAG_LIST, CountriesData::DEFAULT_COUNTRY_LIST, CountriesData::DEFAULT_EU_COUNTRIES_LIST