synapse_pay_rest 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/synapse_pay_rest/api/Users.rb +3 -0
- 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: ef0de243116afb622eb99e91833b0bfc2084101f
|
4
|
+
data.tar.gz: 3467d9cf79f9f7bf9b0d235539d4b2450b3d1a55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53779eec31d4480ac9e2c1c4afe0ee66851f717e80a1f2849c8a20719b87f113b76f09863657d5a4d5fc53bec4aa4fc5b190729d41c462ff0c2dd0261d912d9c
|
7
|
+
data.tar.gz: 16cfa1aaae00c28147f1034b7205422ee5bb1b08f28e222c5fb418c127f0397da8cfb41768b3c1051d5996e3e85bcc616a31cc0701459de0e5a950ad7b50ec2b
|
@@ -66,6 +66,9 @@ module SynapsePayRest
|
|
66
66
|
def create(payload: raise("payload is required"))
|
67
67
|
path = create_user_path()
|
68
68
|
response = @client.post(path, payload)
|
69
|
+
if response.has_key?('_id')
|
70
|
+
@client.update_headers(user_id: response['_id'])
|
71
|
+
end
|
69
72
|
return response
|
70
73
|
end
|
71
74
|
|