bitpay/ruby-client — pull request #20 by heisler3030 (2014-11-05 00:52:18+00:00)
Title: Add error checking

Added a check for HTTP response code and throws an error for non success codes. This will catch bad/missing API keys which was my main goal.

Also added a test case because me luv em tests.