File Coverage

blib/lib/WebService/Wikimapia/City.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package WebService::Wikimapia::City;
2              
3             $WebService::Wikimapia::City::VERSION = '0.13';
4             $WebService::Wikimapia::City::AUTHORITY = 'cpan:MANWAR';
5              
6             =head1 NAME
7              
8             WebService::Wikimapia::City - Placeholder for 'city' of L.
9              
10             =head1 VERSION
11              
12             Version 0.13
13              
14             =cut
15              
16 7     7   95 use 5.006;
  7         20  
17 7     7   34 use Data::Dumper;
  7         13  
  7         309  
18              
19 7     7   39 use Moo;
  7         14  
  7         34  
20 7     7   1990 use namespace::clean;
  7         18  
  7         40  
21              
22             has 'id' => (is => 'ro');
23             has 'title' => (is => 'ro');
24             has 'url' => (is => 'ro');
25             has 'lat' => (is => 'ro');
26             has 'lon' => (is => 'ro');
27             has 'language_id' => (is => 'ro');
28             has 'language_name' => (is => 'ro');
29             has 'language_iso' => (is => 'ro');
30             has 'distance' => (is => 'ro');
31              
32             =head1 METHODS
33              
34             =head2 id()
35              
36             =head2 title()
37              
38             =head2 url()
39              
40             =head2 lat()
41              
42             =head2 lon()
43              
44             =head2 language_id()
45              
46             =head2 language_name()
47              
48             =head2 language_iso()
49              
50             =head2 distance()
51              
52             =head1 AUTHOR
53              
54             Mohammad S Anwar, C<< >>
55              
56             =head1 REPOSITORY
57              
58             L
59              
60             =head1 BUGS
61              
62             Please report any bugs or feature requests to C
63             rt.cpan.org>, or through the web interface at L.
64             I will be notified and then you'll automatically be notified of progress on your
65             bug as I make changes.
66              
67             =head1 SUPPORT
68              
69             You can find documentation for this module with the perldoc command.
70              
71             perldoc WebService::Wikimapia::City
72              
73             You can also look for information at:
74              
75             =over 4
76              
77             =item * RT: CPAN's request tracker
78              
79             L
80              
81             =item * AnnoCPAN: Annotated CPAN documentation
82              
83             L
84              
85             =item * CPAN Ratings
86              
87             L
88              
89             =item * Search CPAN
90              
91             L
92              
93             =back
94              
95             =head1 LICENSE AND COPYRIGHT
96              
97             Copyright (C) 2011 - 2015 Mohammad S Anwar.
98              
99             This program is free software; you can redistribute it and/or modify it under
100             the terms of the the Artistic License (2.0). You may obtain a copy of the full
101             license at:
102              
103             L
104              
105             Any use, modification, and distribution of the Standard or Modified Versions is
106             governed by this Artistic License.By using, modifying or distributing the Package,
107             you accept this license. Do not use, modify, or distribute the Package, if you do
108             not accept this license.
109              
110             If your Modified Version has been derived from a Modified Version made by someone
111             other than you,you are nevertheless required to ensure that your Modified Version
112             complies with the requirements of this license.
113              
114             This license does not grant you the right to use any trademark, service mark,
115             tradename, or logo of the Copyright Holder.
116              
117             This license includes the non-exclusive, worldwide, free-of-charge patent license
118             to make, have made, use, offer to sell, sell, import and otherwise transfer the
119             Package with respect to any patent claims licensable by the Copyright Holder that
120             are necessarily infringed by the Package. If you institute patent litigation
121             (including a cross-claim or counterclaim) against any party alleging that the
122             Package constitutes direct or contributory patent infringement,then this Artistic
123             License to you shall terminate on the date that such litigation is filed.
124              
125             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND
126             CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
127             WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
128             NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS
129             REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT,
130             INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
131             OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
132              
133             =cut
134              
135             1; # End of WebService::Wikimapia::City