Use country, not country_code.
I don't do any validation on my end because that is fedex's job. More
importantly, I dont want to keep up with their validation changes, etc
because they don't document that.
Anyways country refers to the element they want.
Ben Johnson
Binary Logic
W: www.binarylogic.com
E: bjoh...@binarylogic.com
rescue Shippinglogic::FedEx::Error => e
e.response
end
Ben Johnson
Binary Logic
W: www.binarylogic.com
E: bjoh...@binarylogic.com
On Aug 8, 2009, at 5:29 PM, Brian Pokosh wrote:
begin
# your fedex code here
rescue Shippinglogic::FedEx::Error => e
raise e.request.inspect
end
That should show your raw request. Be sure and mask your fedex
credentials. But that should tell us whats going on. All of my tests
are passing and I'm currently rating packages in my app right now. So
it's probably something dumb.
Ben Johnson
Binary Logic
W: www.binarylogic.com
E: bjoh...@binarylogic.com
rates = fedex.rate
rates.first
rates.last
The 2 last lines should not make 2 requests, but what I think I'll do
is clear the cache if any attributes are changed.
Ben Johnson
Binary Logic
W: www.binarylogic.com
E: bjoh...@binarylogic.com
Ben Johnson
Binary Logic
W: www.binarylogic.com
E: bjoh...@binarylogic.com