glass 0.0.1 → 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/glass/version.rb +1 -1
- data/lib/glass.rb +14 -1
- metadata +1 -1
data/lib/glass/version.rb
CHANGED
data/lib/glass.rb
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
require "glass/version"
|
2
2
|
|
3
3
|
module Glass
|
4
|
-
|
4
|
+
|
5
|
+
class Mirror
|
6
|
+
attr_accessor :scopes, :client_id, :redirect_uri, :cient_secret
|
7
|
+
@@client_id
|
8
|
+
@@cient_secret
|
9
|
+
@@redirect_uri
|
10
|
+
@@scopes = [
|
11
|
+
'https://www.googleapis.com/auth/drive.file',
|
12
|
+
'https://www.googleapis.com/auth/userinfo.profile',
|
13
|
+
# Add other requested scopes.
|
14
|
+
]
|
15
|
+
|
16
|
+
end
|
17
|
+
|
5
18
|
end
|