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
|
|
37
|
use strict; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
167
|
|
10
|
5
|
|
|
5
|
|
30
|
use warnings; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
153
|
|
11
|
5
|
|
|
5
|
|
24
|
use Moose; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
37
|
|
12
|
5
|
|
|
5
|
|
32474
|
use Moose::Util::TypeConstraints; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
48
|
|
13
|
|
|
|
|
|
|
|
14
|
5
|
|
|
5
|
|
12268
|
use Net::Songkick::Artist; |
|
5
|
|
|
|
|
19
|
|
|
5
|
|
|
|
|
554
|
|
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
|
|
43
|
no Moose; |
|
5
|
|
|
|
|
42
|
|
|
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; |