Contacts/Type/When.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package WWW::Google::Contacts::Type::When;
2 {
3 $WWW::Google::Contacts::Type::When::VERSION = '0.39';
4 }
5  
6 use Moose;
7 use MooseX::Types::Moose qw( Str );
8 use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField;
9  
10 extends 'WWW::Google::Contacts::Type::Base';
11  
12 # TODO - these attributes should be dateTimes
13  
14 has start_time => (
15 isa => Str,
16 is => 'rw',
17 traits => ['XmlField'],
18 xml_key => 'startTime',
19 required => 1,
20 );
21  
22 has end_time => (
23 isa => Str,
24 is => 'rw',
25 traits => ['XmlField'],
26 xml_key => 'endTime',
27 predicate => 'has_end_time',
28 );
29  
30 no Moose;
31 __PACKAGE__->meta->make_immutable;
32 1;
33 __END__