File Coverage

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