File: maxmind_geoip2.rb

package info (click to toggle)
ruby-geocoder 1.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 732 kB
  • sloc: ruby: 6,173; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
require 'geocoder/results/geoip2'

module Geocoder::Result
  class MaxmindGeoip2 < Geoip2
    # MindmindGeoip2 has the same results as Geoip2 because both are from MaxMind's GeoIP2 Precision Services
    # See http://dev.maxmind.com/geoip/geoip2/web-services/ The difference being that Maxmind calls the service
    # directly while GeoIP2 uses Hive::GeoIP2. See https://github.com/desuwa/hive_geoip2
  end
end