Skip to content

Commit

Permalink
update readme to reflect OAuth2 v0.4.1 gem requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
wehal3001 committed Jul 22, 2012
1 parent 210a512 commit f9daf87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rdoc
@@ -1,10 +1,11 @@
== foursquare APIv2 Sinatra Example

This shows how easy it is to use Foursquare APIv2 via the OAuth2 gem.
This shows how easy it is to use Foursquare APIv2 via the OAuth2 gem (requires v0.4.1).

== code
require 'rubygems'
require 'sinatra'
gem 'oauth2', '=0.4.1'
require 'oauth2'
require 'json'
require 'net/https'
Expand Down Expand Up @@ -53,4 +54,4 @@ This shows how easy it is to use Foursquare APIv2 via the OAuth2 gem.

get '/' do
redirect client.web_server.authorize_url(:redirect_uri => redirect_uri)
end
end

0 comments on commit f9daf87

Please sign in to comment.