aflatter / oauth2-ruby

DORMANT! An OAuth2 implementation in ruby that makes implementing providers too easy.
http://github.com/aflatter/oauth2-ruby
MIT License
130 stars 15 forks source link

AccessToken#request fails : undefined method uri for NilClass #8

Closed jnak closed 13 years ago

jnak commented 13 years ago

consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, :site => "http://api.whatever.com") token = OAuth::AccessToken.new(consumer, TOKEN, SECRET)

req = token.request(:post, '/v1/api_path')

It always fails saying 'undefined method `uri' for nil:NilClass'. I'm doing something wrong as it seems like the most basic thing the lib does ?

Cheers, Julien

DBA commented 13 years ago

Hi jnak,

Some time ago we've chosen not to continue work on this gem, as other members of the ruby community made significant advancements in the oauth2 front.

jnak commented 13 years ago

Hi DBA,

I guessed I was REALLY tired when I posted this. It was meant for the oauth-ruby (v1) gem. Anyway, thanks for your prompt answer. Cheers