glass_sdk 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/glass_sdk/install/templates/glass_sdk.rb +1 -0
- data/lib/glass_sdk/oauth.rb +2 -2
- data/lib/glass_sdk/version.rb +1 -1
- data/lib/glass_sdk.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 047a7dbb44c45aa24e6a7961a3d29cfa7458a144
|
4
|
+
data.tar.gz: 80dcd5aedff4a908c8c719f0e6780f6782440718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aad486b8da93c6094f8fe10eb12042c4989b635d23fdca1ff1d1f6f56667f5decdffb4fd33f0c5263b58e376a1ca8a351a301312d0eb898b3cad3ad172b6702
|
7
|
+
data.tar.gz: 13ab302af88447586e35f96eb4f6f38f0f9b49b7cbebe11078c20b061101742a68dd82aa5266ad100c6529841eb39e6577c2d4e161cf35a7147b3e5f90dc3459
|
data/lib/glass_sdk/oauth.rb
CHANGED
@@ -6,9 +6,9 @@ module GlassSdk
|
|
6
6
|
|
7
7
|
# 用户认证基类
|
8
8
|
class OAuth
|
9
|
-
def initialize
|
9
|
+
def initialize
|
10
10
|
@base_uri = "https://accounts.google.com"
|
11
|
-
@redirect_uri = redirect_uri
|
11
|
+
@redirect_uri = GlassSdk.redirect_uri
|
12
12
|
@access_type = 'offline'
|
13
13
|
@approval_prompt = 'force'
|
14
14
|
|
data/lib/glass_sdk/version.rb
CHANGED
data/lib/glass_sdk.rb
CHANGED