GeoIP2::Model::ConnectionType(3pm)

GeoIP2::Model::ConnectionType3pm

Model class for the geoip2 connection type database

Usage

  use 5.008;
  use GeoIP2::Model::ConnectionType;
  my $conn = GeoIP2::Model::ConnectionType->new(
      raw => { connection_type => 'Corporate', ip_address => '24.24.24.24'}
  );
  print $conn->connection_type(), "\n";

Version

version 2.006002

Overview

This class provides a model for the data returned by the GeoIP2 Connection Type database.

Methods

This class provides the following methods:

$conn->connection_type()

Returns the connection type as a string.

$conn->ip_address()

Returns the IP address used in the lookup.

Support

Bugs may be submitted through <https://github.com/maxmind/GeoIP2-perl/issues>.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13