shippo-ruby-client
shippo-ruby-client copied to clipboard
Test Response Issues
I'm assuming I can post a couple of errors in a single test response:
First:
[2] {
"source" => "CanadaPost",
"code" => "AA002",
"text" => "There is a mismatch between the endpoints and the authorization. Please ensure production keys are used with production endpoints and development keys are used with development endpoints."
}
Second:
response.success? outputs nil if SUCCESS
Small but significant. Let me know if you need anything more.