README.rdoc in oauth-plugin-0.3.5 vs README.rdoc in oauth-plugin-0.3.6

- old
+ new

@@ -22,16 +22,16 @@ == Installation The plugin can now be installed as an gem from github, which is the easiest way to keep it up to date. - sudo gem install pelle-oauth-plugin + sudo gem install oauth-plugin You should add the following in the gem dependency section of environment.rb config.gem "oauth" - config.gem "pelle-oauth-plugin", :source => "http://gems.github.com" + config.gem "oauth-plugin" Alternatively you can install it in vendors/plugin: script/plugin install git://github.com/pelle/oauth-plugin.git @@ -317,20 +317,21 @@ has_one :fire_eagle,:class_name=>"FireEagleToken", :dependent=>:destroy And you could do: - @location=@user.fire_eagle.client.get "/api/0.1/user.json" + @location=@user.fire_eagle.client.location The client method gives you a OAuth::AccessToken which you can use to perform rest operations on the client site - see http://oauth.rubyforge.org/rdoc/classes/OAuth/AccessToken.html === Custom ConsumerToken models Before creating the FireEagleToken model the plugin checks if a class already exists by that name or if we provide an api wrapper for it. This allows you to create a better token model that uses an existing ruby gem. -Currently we provide the following untested tokens: +Currently we provide the following semi tested tokens wrappers: -* Twitter (Will work when the twitter gem is updated to support OAuth 0.3.5) +* FireEagle +* Twitter (requires Paul Singh's version of twitter gem until main gem is updated to 0.3.5 - sudo gem install paulsingh-twitter) * Agree2 These can be found in lib/oauth/models/consulers/services. Contributions will be warmly accepted for your favorite OAuth service. === The OauthConsumerController \ No newline at end of file