From eae8ec44545f6f126e355923dabe5b76e44ed049 Mon Sep 17 00:00:00 2001 From: Junv Date: Wed, 6 Feb 2013 14:35:43 +0800 Subject: [PATCH] now user can use qq to login --- lib/qq_auth.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/qq_auth.rb b/lib/qq_auth.rb index 2a8246d..0ae8824 100644 --- a/lib/qq_auth.rb +++ b/lib/qq_auth.rb @@ -32,7 +32,6 @@ module QQAuth http.use_ssl = true path ='/oauth2.0/me?' + 'access_token='+access_token - response = http.get(path) get_open_id response.body end @@ -46,9 +45,6 @@ module QQAuth '&openid=' +openid response = http.get(path) response = JSON.parse response.body - puts "response====" +response.to_s - response - end def get_open_id (str)