File Coverage

blib/lib/WWW/Google/Contacts/Type/GroupMembership.pm
Criterion Covered Total %
statement 12 13 92.3
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 19 84.2


line stmt bran cond sub pod time code
1             package WWW::Google::Contacts::Type::GroupMembership;
2             {
3             $WWW::Google::Contacts::Type::GroupMembership::VERSION = '0.39';
4             }
5              
6 19     19   117 use Moose;
  19         41  
  19         211  
7 19     19   126633 use MooseX::Types::Moose qw( Str );
  19         49  
  19         232  
8 19     19   99327 use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField;
  19         46  
  19         1708  
9              
10             extends 'WWW::Google::Contacts::Type::Base';
11              
12             has href => (
13             isa => Str,
14             is => 'rw',
15             traits => ['XmlField'],
16             xml_key => 'href',
17             predicate => 'has_href',
18             required => 1,
19             );
20              
21             sub search_field {
22 0     0 0   return 'href';
23             }
24              
25 19     19   110 no Moose;
  19         42  
  19         116  
26             __PACKAGE__->meta->make_immutable;
27             1;
28             __END__