sporkmonger/signet — Issue #7: signet as Faraday middleware?
Author: sqrrrl
Created: 2012-01-31 01:12:28+00:00
State: open

With the switch to Faraday, it might make sense to offer signet as Faraday middleware rather than acting as a front-end to it. E.g.

client = Signet::OAuth2::Client.new...
access_token = ... # get access token

conn = Faraday.new do |builder|
builder. user Signet::OAuth2::Client, access_token
end

conn.get(...)