What's the easiest way to use OAuth with ActiveResource?
Posted
by Barry Hess
on Stack Overflow
See other posts from Stack Overflow
or by Barry Hess
Published on 2010-05-28T20:46:14Z
Indexed on
2010/05/28
20:52 UTC
Read the original article
Hit count: 307
ruby-on-rails
|ruby
I'm working with some old code and using ActiveResource for a very basic Twitter integration. I'd like to touch the app code as little as possible and just bring OAuth in while still using ActiveResource.
Unfortunately I'm finding no easy way to do this. I did run into the oauth-active-resource gem, but it's not exactly documented and it appears to be designed for creating full-on API wrapper libraries. As you can imagine, I'd like to avoid creating a whole Twitter ActiveResource API wrapper for this one legacy change.
Any success stories out there? In my instance, it might be quicker to just leave ActiveResource rather than get this working. I'm happy to be proven wrong!
© Stack Overflow or respective owner