Add more POD to Pluggable.

Add more POD to FlatRate.pm, for the to be written calculate method.
Build create and new methods for Ship, convert existing code to throw exceptions.
Tests for Ship, that look suspiciously similar to ShipDriver.
This commit is contained in:
Colin Kuskie 2008-02-28 23:22:55 +00:00
parent be2b76a7d0
commit df47d0a07c
4 changed files with 136 additions and 21 deletions

View file

@ -36,7 +36,8 @@ Returns a shipping price. Calculates the shipping price using the following form
=head3 $cart
A WebGUI::Shop::Cart object. The contents of the cart are analyzed to calculate
the shipping costs.
the shipping costs. If no items in the cart require shipping, then no shipping
costs are assessed.
=cut