line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::AbuseIPDB::ReportResponse; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#=============================================================================== |
4
|
|
|
|
|
|
|
# FILE: ReportResponse.pm |
5
|
|
|
|
|
|
|
# DESCRIPTION: Reponse for report endpoint |
6
|
|
|
|
|
|
|
# AUTHOR: Pete Houston (pete), cpan@openstrike.co.uk |
7
|
|
|
|
|
|
|
# ORGANIZATION: Openstrike |
8
|
|
|
|
|
|
|
# CREATED: 17/08/19 12:26:19 |
9
|
|
|
|
|
|
|
#=============================================================================== |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
934
|
use strict; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
60
|
|
12
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
54
|
|
13
|
|
|
|
|
|
|
|
14
|
2
|
|
|
2
|
|
11
|
use parent 'WebService::AbuseIPDB::Response'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
13
|
|
15
|
|
|
|
|
|
|
our $VERSION = $WebService::AbuseIPDB::Response::VERSION; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
1
|
581
|
sub score { return shift->{data}->{abuseConfidenceScore} } |
18
|
1
|
|
|
1
|
1
|
537
|
sub ip { return shift->{data}->{ipAddress} } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |