line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 NAME |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Net::Songkick::City - Models a city in the Songkick API |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Net::Songkick::City; |
8
|
|
|
|
|
|
|
|
9
|
6
|
|
|
6
|
|
46
|
use strict; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
189
|
|
10
|
6
|
|
|
6
|
|
31
|
use warnings; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
143
|
|
11
|
6
|
|
|
6
|
|
29
|
use Moose; |
|
6
|
|
|
|
|
24
|
|
|
6
|
|
|
|
|
38
|
|
12
|
6
|
|
|
6
|
|
38896
|
use Moose::Util::TypeConstraints; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
42
|
|
13
|
|
|
|
|
|
|
|
14
|
6
|
|
|
6
|
|
15864
|
use Net::Songkick::Country; |
|
6
|
|
|
|
|
22
|
|
|
6
|
|
|
|
|
953
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
coerce 'Net::Songkick::City', |
17
|
|
|
|
|
|
|
from 'HashRef', |
18
|
|
|
|
|
|
|
via { Net::Songkick::City->new($_) }; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has $_ => ( |
21
|
|
|
|
|
|
|
is => 'ro', |
22
|
|
|
|
|
|
|
isa => 'Str', |
23
|
|
|
|
|
|
|
) for qw[displayName id uri]; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has country => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => 'Net::Songkick::Country', |
28
|
|
|
|
|
|
|
coerce => 1, |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
6
|
|
|
6
|
|
58
|
no Moose; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
33
|
|
32
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 AUTHOR |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Dave Cross <dave@perlhacks.com> |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 SEE ALSO |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
perl(1), L<http://www.songkick.com/>, L<http://developer.songkick.com/> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Copyright (C) 2018, Magnum Solutions Ltd. All Rights Reserved. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This script is free software; you can redistribute it and/or modify it |
47
|
|
|
|
|
|
|
under the same terms as Perl itself. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |