Songkick/Country.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Songkick/City.pm ↑ Summary Songkick/Location.pm »
1 =head1 NAME
2  
3 Net::Songkick::Country - Models a country in the Songkick API
4  
5 =cut
6  
7 package Net::Songkick::Country;
8  
9 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 7 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 7 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 coerce 'Net::Songkick::Country',
16 from 'HashRef',
17 6 ▶ via { Net::Songkick::Country->new($_) };
Subroutine __ANON__: called CC=1 SCAR=0.0
18  
19 7 has displayName => (
20 is => 'ro',
21 isa => 'Str',
22 );
23  
24 7 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 7 __PACKAGE__->meta->make_immutable;
26  
27 =head1 AUTHOR
28  
29 Dave Cross <dave@perlhacks.com>
30  
31 =head1 SEE ALSO
32  
33 perl(1), L<http://www.songkick.com/>, L<http://developer.songkick.com/>
34  
35 =head1 COPYRIGHT AND LICENSE
36  
37 Copyright (C) 2010, Magnum Solutions Ltd. All Rights Reserved.
38  
39 This script is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself.
41  
42 =cut
43  
44 7 1;
« Songkick/City.pm ↑ Summary Songkick/Location.pm »