From 30bafe352fba52b07cbc6ef87ed5d57fab642462 Mon Sep 17 00:00:00 2001 From: joamag Date: Sat, 21 Mar 2020 12:09:12 +0000 Subject: [PATCH] Better OAuth naming --- src/google/__init__.py | 2 +- src/google/base.py | 6 +++--- src/google/oauth.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/google/__init__.py b/src/google/__init__.py index 4c5e20a..bf88b31 100644 --- a/src/google/__init__.py +++ b/src/google/__init__.py @@ -43,7 +43,7 @@ from .base import BASE_URL, API from .drive import DriveAPI -from .oauth import OauthAPI +from .oauth import OAuthAPI from .spreadsheet import SpreadsheetAPI from .token import TokenAPI from .user import UserAPI diff --git a/src/google/base.py b/src/google/base.py index 837391f..da1cc95 100644 --- a/src/google/base.py +++ b/src/google/base.py @@ -51,7 +51,7 @@ LOGIN_URL = "https://accounts.google.com/o/" """ Default base URL that is going to be used for the -login part of the specification, the oauth login basis """ +login part of the specification, the OAuth login basis """ TEMPLATE_URL = "https://%s.googleapis.com/" """ The template that is going to be used in the building @@ -73,13 +73,13 @@ "email", ) """ The list of permissions to be used to create the -scope string for the oauth value """ +scope string for the OAuth value """ class API( appier.OAuth2API, user.UserAPI, drive.DriveAPI, - oauth.OauthAPI, + oauth.OAuthAPI, token.TokenAPI, spreadsheet.SpreadsheetAPI ): diff --git a/src/google/oauth.py b/src/google/oauth.py index 9df95a6..984cac4 100644 --- a/src/google/oauth.py +++ b/src/google/oauth.py @@ -37,7 +37,7 @@ __license__ = "Apache License, Version 2.0" """ The license for the module """ -class OauthAPI(object): +class OAuthAPI(object): def userinfo_oauth(self): url = self.base_url + "oauth2/v2/userinfo"