File: | lib/WWW/Google/Contacts/Type/Priority.pm |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WWW::Google::Contacts::Type::Priority; | ||||||
2 | |||||||
3 | 12 12 12 | 94 38 97 | use Moose; | ||||
4 | 12 12 12 | 138 38 108 | use MooseX::Types::Moose qw( Str ); | ||||
5 | 12 12 12 | 138 38 98 | use WWW::Google::Contacts::InternalTypes qw( Rel ); | ||||
6 | 12 12 12 | 163 38 100 | use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField; | ||||
7 | |||||||
8 | extends 'WWW::Google::Contacts::Type::Base'; | ||||||
9 | |||||||
10 | has type => ( | ||||||
11 | isa => Rel, | ||||||
12 | is => 'rw', | ||||||
13 | traits => [ 'XmlField' ], | ||||||
14 | xml_key => 'rel', | ||||||
15 | predicate => 'has_type', | ||||||
16 | coerce => 1, | ||||||
17 | required => 1, | ||||||
18 | ); | ||||||
19 | |||||||
20 | 12 12 12 | 110 37 98 | no Moose; | ||||
21 | __PACKAGE__->meta->make_immutable; | ||||||
22 | 1; |