Module: Clickwrap::IpGeolocation
- Defined in:
- lib/clickwrap/ip_geolocation/resolver.rb,
lib/clickwrap/ip_geolocation/location.rb,
lib/clickwrap/ip_geolocation/null_resolver.rb,
lib/clickwrap/ip_geolocation/static_resolver.rb,
lib/clickwrap/ip_geolocation/trackdown_resolver.rb
Overview
IP geolocation adapters.
Clickwrap has no geolocation dependency and never will. What it has is this
narrow contract, one no-op default that lets the whole feature be exercised
without any provider, a deterministic fixture resolver for tests, and one
optional official adapter for trackdown. A host that wants a different
provider writes forty lines against the contract below and configures it.
Defined Under Namespace
Classes: Location, NullResolver, Resolver, StaticResolver, TrackdownResolver