omniauth-paymium 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/omniauth/paymium/version.rb +1 -1
- data/lib/omniauth/strategies/paymium.rb +1 -9
- 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: 4ed5763532b084a9bed52dd542ae11b947de1d56
|
|
4
|
+
data.tar.gz: 257e332ee4b427bd4d469719872d75bc7aeff32f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44339bd56faa0123b5d875bdfdc0e2071b2bd068c6a32cffb5d5da8b36fc4b5e16f66f59823d52dc9214d7d297e0b56fead11ea9df3a5068f9b710ac3705fa34
|
|
7
|
+
data.tar.gz: 940429a86869fbe7cf6ca92e76288ba575feafbc2256e42843a2d8afd7df6245abe42f03ad8ce90683a4da4ccd5b346c2a408644f698061815e1e9a0597946d6
|
|
@@ -40,15 +40,7 @@ module OmniAuth
|
|
|
40
40
|
|
|
41
41
|
def raw_info
|
|
42
42
|
access_token.options[:parse] = :json
|
|
43
|
-
|
|
44
|
-
# This way is not working right now, do it the longer way
|
|
45
|
-
# for the time being
|
|
46
|
-
#
|
|
47
|
-
#@raw_info ||= access_token.get('/ap/user/profile').parsed
|
|
48
|
-
|
|
49
|
-
url = '/api/v1/user'
|
|
50
|
-
params = {:params => { :access_token => access_token.token}}
|
|
51
|
-
@raw_info ||= access_token.client.request(:get, url, params).parsed
|
|
43
|
+
@raw_info ||= access_token.get("#{options.client_options.site}/api/user").parsed
|
|
52
44
|
end
|
|
53
45
|
end
|
|
54
46
|
end
|