| 1 | package GeoIP2::Record::Postal; | ||
| 2 | |||
| 3 | 12 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 12 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 12 | our $VERSION = '2.006002'; | |
| 7 | |||
| 8 | 12 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 12 | ▶ | use GeoIP2::Types qw( NonNegativeInt Str ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 12 | ▶ | use namespace::clean -except => 'meta'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 12 | has code => ( | |
| 15 | is => 'ro', | ||
| 16 | isa => Str, | ||
| 17 | predicate => 'has_code', | ||
| 18 | ); | ||
| 19 | |||
| 20 | 12 | has confidence => ( | |
| 21 | is => 'ro', | ||
| 22 | isa => NonNegativeInt, | ||
| 23 | predicate => 'has_confidence', | ||
| 24 | ); | ||
| 25 | |||
| 26 | 12 | 1; | |
| 27 | |||
| 28 | # ABSTRACT: Contains data for the postal code record associated with an IP address | ||
| 29 | |||
| 30 | __END__ | ||