technoweenie/faraday — pull request #116 by tonywok (2012-02-03 22:43:17+00:00)
Title: Alias Faraday Response #status to #code

We're using this library in combination with faraday_middleware to sign outgoing ActiveResource requests with an oauth signature. However, net/http expects the response to respond to #code. But, as you know, to get the status code, faraday expects the method #status.

This pull request introduces a simple alias_method (and test!) for compatibility.

Thanks!