GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Uses the IntlRateV2 API to request international shipping rates
Implemented RateV2 (Int'l) API. Restructured existing Shipping Rate (…
…V2) functionality. Needs better testing
always include dimension elements, even if they're blank
allow package to be initialized in block, not just with option hash
tests for international package request and lookup
added specs for response
The class name for this changed, didn't it?
Why did it change?
Domestic and International packages have different properties, so it didn't make sense anymore to have a single Package class. So Package is a base class, with InternationalPackage and DomesticPackage inheriting from it.
I changed the message to refer the specific package class.
updated 'missing package' error messages
Should be REQUIRED_PROPERTIES?
It looks like these are all necessary, so that would make the spec a little clearer
fixed bug related to required properties in Packages