title: Configuring ActiveResource to support OAuth2
body: <p>I need to be able configure ActiveResource to connect with OAuth2 or basic authentication on a connection by connection basis.  I have found a couple ways to configure ActiveResource with OAuth2, but they don't seem that elegant and don't lend themselves to a dynamic type configuration.  Any help out there?</p>