Skip to content

Commit

Permalink
add type attribute for physical address
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanez committed Apr 16, 2012
1 parent 0e9c61f commit ab8d830
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/WWW/AddressBook/PhysicalAddress.pm
Expand Up @@ -39,4 +39,12 @@ has postal_code => (
predicate => 'has_postal_code',
);

has type => (
is => 'rw',
isa => 'Str',
lazy => 1,
default => sub { 'home' },
);

__PACKAGE__->meta->make_immutable;
1;

0 comments on commit ab8d830

Please sign in to comment.