소스 검색

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

John Duff 12 년 전
부모
커밋
a2bd1c6bda
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.rdoc

+ 1 - 1
README.rdoc

@@ -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