Convert Address to Moose.

This commit is contained in:
Colin Kuskie 2010-07-09 13:49:37 -07:00
parent fc345f57ce
commit 73da9e343d
4 changed files with 281 additions and 238 deletions

View file

@ -163,7 +163,8 @@ A hash reference containing address information.
sub addAddress {
my ($self, $address) = @_;
my $addressObj = WebGUI::Shop::Address->create( $self, $address);
my $addressObj = WebGUI::Shop::Address->create($self);
$addressObj->update($address);
return $addressObj;
}