OpenCellID/Response.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 3 / 3 totaltotal 100% 26 / 26 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenCellID/measure.pm ↑ Summary OpenCellID/Response/cell/get.pm »
1 package Geo::WebService::OpenCellID::Response;
2 4 ▶use base qw{Geo::WebService::OpenCellID::Base};
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 our $VERSION = '0.04';
6  
7 =head1 NAME
8  
9 Geo::WebService::OpenCellID::Response - Perl API for the opencellid.org database
10  
11 =head1 SYNOPSIS
12  
13 use base qw{Geo::WebService::OpenCellID::Response};
14  
15 =head1 DESCRIPTION
16  
17 =head1 USAGE
18  
19 =head1 CONSTRUCTOR
20  
21 =head2 new
22  
23 =cut
24  
25 =head1 METHODS
26  
27 =head2 stat
28  
29 Returns the status from rsp->stat in the xml
30  
31 =cut
32  
33 sub stat {
34 3 ▶ my $self=shift;
Subroutine stat: called CC=1 SCAR=0.0
Pod documented
35 3 return $self->{"data"}->{"stat"};
36 }
37  
38 =head2 content
39  
40 Returns the entire XML document.
41  
42 =cut
43  
44 sub content {
45 3 ▶ my $self=shift;
Subroutine content: called CC=1 SCAR=0.0
Pod documented
46 3 return $self->{"content"};
47 }
48  
49 =head2 url
50  
51 Returns the url of the web service as called
52  
53 =cut
54  
55 sub url {
56 3 ▶ my $self=shift;
Subroutine url: called CC=1 SCAR=0.0
Pod documented
57 3 return $self->{"url"};
58 }
59  
60 =head1 BUGS
61  
62 Submit to RT and email the Author
63  
64 =head1 SUPPORT
65  
66 Try the Author or Try 8motions.com
67  
68 =head1 AUTHOR
69  
70 Michael R. Davis
71 CPAN ID: MRDVT
72 STOP, LLC
73 domain=>michaelrdavis,tld=>com,account=>perl
74 http://www.stopllc.com/
75  
76 =head1 COPYRIGHT
77  
78 This program is free software; you can redistribute
79 it and/or modify it under the same terms as Perl itself.
80  
81 The full text of the license can be found in the
82 LICENSE file included with this module.
83  
84 =head1 SEE ALSO
85  
86 =cut
87  
88 4 1;
« OpenCellID/measure.pm ↑ Summary OpenCellID/Response/cell/get.pm »