| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | =head1 NAME | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | Net::Songkick::Location - Models a location in the Songkick API | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | =cut | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | package Net::Songkick::Location; | 
| 8 |  |  |  |  |  |  |  | 
| 9 | 5 |  |  | 5 |  | 39 | use strict; | 
|  | 5 |  |  |  |  | 13 |  | 
|  | 5 |  |  |  |  | 182 |  | 
| 10 | 5 |  |  | 5 |  | 29 | use warnings; | 
|  | 5 |  |  |  |  | 13 |  | 
|  | 5 |  |  |  |  | 153 |  | 
| 11 |  |  |  |  |  |  |  | 
| 12 | 5 |  |  | 5 |  | 32 | use Moose; | 
|  | 5 |  |  |  |  | 27 |  | 
|  | 5 |  |  |  |  | 77 |  | 
| 13 | 5 |  |  | 5 |  | 37134 | use Moose::Util::TypeConstraints; | 
|  | 5 |  |  |  |  | 13 |  | 
|  | 5 |  |  |  |  | 45 |  | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | coerce 'Net::Songkick::Location', | 
| 16 |  |  |  |  |  |  | from 'HashRef', | 
| 17 |  |  |  |  |  |  | via { Net::Songkick::Location->new($_) }; | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | has $_ => ( | 
| 20 |  |  |  |  |  |  | is => 'ro', | 
| 21 |  |  |  |  |  |  | isa => 'Str', | 
| 22 |  |  |  |  |  |  | ) for qw[lng lat city]; | 
| 23 |  |  |  |  |  |  |  | 
| 24 | 5 |  |  | 5 |  | 11607 | no Moose; | 
|  | 5 |  |  |  |  | 13 |  | 
|  | 5 |  |  |  |  | 35 |  | 
| 25 |  |  |  |  |  |  | __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 |  |  |  |  |  |  | 1; |