File Coverage

blib/lib/WWW/Google/Contacts/Type/Sensitivity.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package WWW::Google::Contacts::Type::Sensitivity;
2             {
3             $WWW::Google::Contacts::Type::Sensitivity::VERSION = '0.39';
4             }
5              
6 19     19   116 use Moose;
  19         45  
  19         180  
7 19     19   131261 use MooseX::Types::Moose qw( Str );
  19         44  
  19         246  
8 19     19   100817 use WWW::Google::Contacts::InternalTypes qw( Rel );
  19         45  
  19         178  
9 19     19   46869 use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField;
  19         51  
  19         1410  
10              
11             extends 'WWW::Google::Contacts::Type::Base';
12              
13             has type => (
14             isa => Str, # not a full url rel :-/
15             is => 'rw',
16             traits => ['XmlField'],
17             xml_key => 'rel',
18             predicate => 'has_type',
19             required => 1,
20             );
21              
22 19     19   104 no Moose;
  19         41  
  19         123  
23             __PACKAGE__->meta->make_immutable;
24             1;
25             __END__