GeoIP2/Model/ConnectionType.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Model/City.pm ↑ Summary GeoIP2/Model/Country.pm »
1 package GeoIP2::Model::ConnectionType;
2  
3 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 our $VERSION = '2.006002';
7  
8 7 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 7 ▶use GeoIP2::Types qw( IPAddress Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 7 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 7 with 'GeoIP2::Role::Model::Flat', 'GeoIP2::Role::HasIPAddress';
15  
16 7 has connection_type => (
17 is => 'ro',
18 isa => Str,
19 predicate => 'has_connection_type',
20 );
21  
22 7 1;
23  
24 # ABSTRACT: Model class for the GeoIP2 Connection Type database
25  
26 __END__
« GeoIP2/Model/City.pm ↑ Summary GeoIP2/Model/Country.pm »