Change response code validation

* HTTParty has altered the DSL for Ruby 2.0
* Rather than `response.code.ok?`, will use `response.code == 200`