File: | lib/WWW/Google/Contacts/Type/Birthday.pm |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WWW::Google::Contacts::Type::Birthday; | ||||||
2 | |||||||
3 | 12 12 12 | 97 41 102 | use Moose; | ||||
4 | 12 12 12 | 146 40 108 | use MooseX::Types::Moose qw( Str ); | ||||
5 | 12 12 12 | 139 39 103 | use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField; | ||||
6 | |||||||
7 | extends 'WWW::Google::Contacts::Type::Base'; | ||||||
8 | |||||||
9 | has when => ( | ||||||
10 | isa => Str, | ||||||
11 | is => 'rw', | ||||||
12 | traits => [ 'XmlField' ], | ||||||
13 | xml_key => 'when', | ||||||
14 | predicate => 'has_when', | ||||||
15 | ); | ||||||
16 | |||||||
17 | 12 12 12 | 116 39 93 | no Moose; | ||||
18 | __PACKAGE__->meta->make_immutable; | ||||||
19 | 1; |