Permalink
Browse files

fix variable name, we were referring to code instead of access_token

  • Loading branch information...
1 parent fe1fd08 commit a2bd1c6bda4ce0e710a755795abe1f8f2f56c8d1 @jduff jduff committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -50,7 +50,7 @@ ShopifyAPI uses ActiveResource to communicate with the REST web service. ActiveR
5. Use that token to instantiate a session that is ready to make calls to the given shop.
- token = params[:code]
+ token = params[:access_token]
session = ShopifyAPI::Session.new("yourshopname.myshopify.com", token)
session.valid? # returns true

0 comments on commit a2bd1c6

Please sign in to comment.