File Coverage

blib/lib/Geo/WebService/OpenCellID/Response/measure/add.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 3 3 100.0
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Geo::WebService::OpenCellID::Response::measure::add;
2 4     4   24 use warnings;
  4         8  
  4         219  
3 4     4   18 use strict;
  4         7  
  4         134  
4 4     4   20 use base qw{Geo::WebService::OpenCellID::Response::measure};
  4         6  
  4         1945  
5             our $VERSION = '0.06';
6              
7             =head1 NAME
8              
9             Geo::WebService::OpenCellID::Response::measure::add - Perl API for the opencellid.org database
10              
11             =head1 SYNOPSIS
12              
13             =head1 DESCRIPTION
14              
15             Perl Interface to the database at http://www.opencellid.org/
16              
17             =head1 USAGE
18              
19             =head1 METHODS
20              
21             =head2 id
22              
23             =cut
24              
25             sub id {
26 1     1 1 5 my $self=shift;
27 1         8 return $self->{"data"}->{"id"};
28             }
29              
30             =head2 cellid
31              
32             =cut
33              
34             sub cellid {
35 1     1 1 5 my $self=shift;
36 1         7 return $self->{"data"}->{"cellid"};
37             }
38              
39             =head2 res
40              
41             =cut
42              
43             sub res {
44 1     1 1 3 my $self=shift;
45 1         8 return $self->{"data"}->{"res"}->[0];
46             }
47              
48             =head1 COPYRIGHT
49              
50             Copyright (c) 2025 Michael R. Davis
51              
52             This program is free software; you can redistribute
53             it and/or modify it under the same terms as Perl itself.
54              
55             The full text of the license can be found in the
56             LICENSE file included with this module.
57              
58             =cut
59              
60             1;