spree/spree — pull request #5234 by HoyaBoya (2014-08-19 19:41:58+00:00)
Title: provide status code on promotion handler

This change adds a status_code to the JSON response for the promotion code response object. It's a little bit brittle to bind on the translation message from ```Spree.t``` and sometimes more granularity is needed then success/error. The status_code should hopefully solve this.