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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 906663649d3b28c07aa084c4a84acf0450856df3
4
- data.tar.gz: 15d7236173393b35107d27b7a2cb5382f375b6b3
3
+ metadata.gz: ef0de243116afb622eb99e91833b0bfc2084101f
4
+ data.tar.gz: 3467d9cf79f9f7bf9b0d235539d4b2450b3d1a55
5
5
  SHA512:
6
- metadata.gz: 08dee100ec94ac01eb623e38737a10b4bcb08e24d167e55d319127779862c9a8a1caf1c6bad20ffd7cbc125a8b2f386a2b8743d1a597f19697ec613a15ba7fa3
7
- data.tar.gz: 69ffea3c2e62de48f2c2588f3bb966e0dc06301e5b7992997e373aea44a2a521d5d0284d7612d5c380aada5e607eebfba0986703234575b9c6b08f6bbcfd08b5
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapse_pay_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Hipps