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.
Installation
Add this line to your application’s Gemfile:
gem 'faraday'
And then execute:
$ bundle
Or install it yourself as:
$ gem install faraday