Faraday is an HTTP client library that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.
Add this line to your application’s Gemfile:
And then execute:
Or install it yourself as:
$ gem install faraday
You can also install the
extension gem to access a collection of useful Faraday middleware.