line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 NAME |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Net::Songkick::Performance - Models a performance in the Songkick API |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Net::Songkick::Performance; |
8
|
|
|
|
|
|
|
|
9
|
5
|
|
|
5
|
|
39
|
use strict; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
173
|
|
10
|
5
|
|
|
5
|
|
26
|
use warnings; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
147
|
|
11
|
5
|
|
|
5
|
|
85
|
use Moose; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
35
|
|
12
|
5
|
|
|
5
|
|
34587
|
use Moose::Util::TypeConstraints; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
44
|
|
13
|
|
|
|
|
|
|
|
14
|
5
|
|
|
5
|
|
14005
|
use Net::Songkick::Artist; |
|
5
|
|
|
|
|
19
|
|
|
5
|
|
|
|
|
639
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
coerce 'Net::Songkick::Performance', |
17
|
|
|
|
|
|
|
from 'HashRef', |
18
|
|
|
|
|
|
|
via { Net::Songkick::Performance->new($_) }; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has $_ => ( |
21
|
|
|
|
|
|
|
is => 'ro', |
22
|
|
|
|
|
|
|
isa => 'Str', |
23
|
|
|
|
|
|
|
) for qw[displayName billing billingIndex id]; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has artist => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => 'Net::Songkick::Artist', |
28
|
|
|
|
|
|
|
coerce => 1, |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
5
|
|
|
5
|
|
48
|
no Moose; |
|
5
|
|
|
|
|
47
|
|
|
5
|
|
|
|
|
31
|
|
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) 2010, 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; |