nm-gigya 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gigya/user.rb +2 -2
- 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: 4d320977bc2d1ee0a3c10d0e76b1449776926e2f
|
4
|
+
data.tar.gz: 494bc3875355d0d808c9c2f5c9c151f6945cd6a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20143c3283ddd18af3573f4cff055cff47efe522be884719b79907b3ffe1b3bb005c7c0c26d21496bedc6097afed94da5fdc5f6cd195da0bd939dd8446f29595
|
7
|
+
data.tar.gz: 4eab234f10158d14fda69a2fd9afdf5d815afec68198cf11bfeac47236658d0d21ccb9a43ce7c0f29595b72aa188f12d234c0fd17627917ba888744f4e25d80a
|
data/lib/gigya/user.rb
CHANGED
@@ -3,7 +3,7 @@ module Gigya
|
|
3
3
|
attr_accessor :gigya_details
|
4
4
|
attr_accessor :gigya_connection
|
5
5
|
|
6
|
-
@@extra_profile_fields = []
|
6
|
+
@@extra_profile_fields = ["locale"]
|
7
7
|
def self.extra_profile_fields=(val)
|
8
8
|
@@extra_profile_fields = val
|
9
9
|
end
|
@@ -103,7 +103,7 @@ module Gigya
|
|
103
103
|
return self.new(cache_info, false)
|
104
104
|
else
|
105
105
|
connection = opts[:connection] || Gigya::Connection.shared_connection
|
106
|
-
response = connection.api_get("accounts", "getAccountInfo", {UID: uid})
|
106
|
+
response = connection.api_get("accounts", "getAccountInfo", {UID: uid, include:"profile,data,subscriptions,userInfo,preferences", extraProfileFields:@@extra_profile_fields.join(",")})
|
107
107
|
obj = self.new(response)
|
108
108
|
obj.gigya_connection = connection
|
109
109
|
return obj
|