gahh 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gahh/handler.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: 87426afb67f4d35cd8744abd5033342ffac7bc60
|
4
|
+
data.tar.gz: c888e4ebb71c968831a2274cedf6e46a55ca7867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d34a1ea9890be64604ab1f81e81ef3ff875083fa0f771fa1cb61a5ba4c651ff56de6418272eab920c63f87008958be1a57a806c1bd1d18d14fa7c86d210e6813
|
7
|
+
data.tar.gz: 481816bcd645fb8a660f9797a9df205603deae73b39054e1541ff93f725e737c33a2b5bd7e7843136815141f942061b0cd0264080bd7a0de388b3a117ca096d9
|
data/lib/gahh/handler.rb
CHANGED
@@ -14,7 +14,7 @@ class Gahh::Handler
|
|
14
14
|
# options expecting scopes organized in hash with api and expectation
|
15
15
|
# ie {"analytics" => "read"}
|
16
16
|
|
17
|
-
scope =
|
17
|
+
scope = Gahh::ApiScopeParser::convert_api_scope_to_uri(scopes)
|
18
18
|
|
19
19
|
client = Signet::OAuth2::Client.new(
|
20
20
|
:authorization_uri => 'https://accounts.google.com/o/oauth2/auth',
|