pdt256/shipping — pull request #9 by perk11 (2014-12-08 16:45:18+00:00)
Title: Validation

Added validation of values passed. Throwing LogicException if some obligatory values are missing.

Default values were getting overwritten in __construct if user did not specify them. Therefore I moved default values to __contruct.