File Coverage

blib/lib/WWW/Google/Contacts/Type/Hobby.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package WWW::Google::Contacts::Type::Hobby;
2             {
3             $WWW::Google::Contacts::Type::Hobby::VERSION = '0.39';
4             }
5              
6 19     19   163 use Moose;
  19         71  
  19         152  
7 19     19   126362 use MooseX::Types::Moose qw( Str );
  19         53  
  19         234  
8 19     19   98981 use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField;
  19         46  
  19         1261  
9              
10             extends 'WWW::Google::Contacts::Type::Base';
11              
12             has value => (
13             isa => Str,
14             is => 'rw',
15             traits => ['XmlField'],
16             xml_key => 'content',
17             predicate => 'has_value',
18             required => 1,
19             );
20              
21 19     19   106 no Moose;
  19         45  
  19         119  
22             __PACKAGE__->meta->make_immutable;
23             1;
24             __END__