| File: | lib/WWW/Google/Contacts/Type/Gender.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package WWW::Google::Contacts::Type::Gender; | ||||||
| 2 | |||||||
| 3 | 12 12 12 | 96 40 106 | use Moose; | ||||
| 4 | 12 12 12 | 139 42 107 | use MooseX::Types::Moose qw( Str ); | ||||
| 5 | 12 12 12 | 129 38 98 | use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField; | ||||
| 6 | |||||||
| 7 | extends 'WWW::Google::Contacts::Type::Base'; | ||||||
| 8 | |||||||
| 9 | has value => ( | ||||||
| 10 | isa => Str, | ||||||
| 11 | is => 'rw', | ||||||
| 12 | traits => [ 'XmlField' ], | ||||||
| 13 | xml_key => 'value', | ||||||
| 14 | predicate => 'has_value', | ||||||
| 15 | required => 1, | ||||||
| 16 | ); | ||||||
| 17 | |||||||
| 18 | 12 12 12 | 107 41 92 | no Moose; | ||||
| 19 | __PACKAGE__->meta->make_immutable; | ||||||
| 20 | 1; | ||||||