A reference design for enabling a Ruby app to authenticate with Toodledo's OAuth2 server.
This example requires the OAuth2 gem. It uses the Sinatra web framework for a simple example.
These are the dependencies:
gem install sinatra
gem install oauth2
gem install json
Run the web server with the following command:
ruby app.rb
Visit the local web server to play with the web interface.