summaryrefslogtreecommitdiff
path: root/lib/google_api/auth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/google_api/auth.rb')
-rw-r--r--lib/google_api/auth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/google_api/auth.rb b/lib/google_api/auth.rb
index 319e5d2063c..7d9ff579c92 100644
--- a/lib/google_api/auth.rb
+++ b/lib/google_api/auth.rb
@@ -22,7 +22,7 @@ module GoogleApi
def get_token(code)
ret = client.auth_code.get_token(code, redirect_uri: redirect_uri)
- return ret.token, ret.expires_at
+ [ret.token, ret.expires_at]
end
protected