Adding Faraday Middleware
Created by: justinAppiphony
I cant quite seem to follow the flow of how Faraday is setup from OAuth2 to inject additional middleware. I need to add a Multipart handler, to upload a file. i got to:
:connection_build => block,
figuring i could pass a Proc for |builder| builder.request :multipart but that didnt seem to work and it was causing MarshallDump problems when i saved the token to the session, any ideas?