paysafe 0.6.0 → 0.6.1

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: 1e6a2ecaa37ebc99464376348b1eed1d01602d05
4
- data.tar.gz: 6aba39be86e01dee64fb92b7ee56df7b0e8466d2
3
+ metadata.gz: 6888e9622584de8cd23c374409c630ed7fc2b711
4
+ data.tar.gz: 4257d2d945eb795e1bca9e047f98703f7acf17d6
5
5
  SHA512:
6
- metadata.gz: 6831158c0386cd627ca273647bca6166c589c9fec55499b439b5b4c4b7bde0ce7fc3ecfbcadb052db2e8c9cde64168cf0fe59fd80de79d509de59bdfa8f580aa
7
- data.tar.gz: 2d26d6c00152f5fd35b825b033764896f6667a2727e463555d8e419f62f5c2e417efb3cb09f186fbbb2a44e9d0fdd7d0e02e304dc62b5e13b17bd2ca66c4ff9d
6
+ metadata.gz: 7c039ec33d7ccf2dbdc926c378f85a0c30ac7b27e0229d00488c966409004df4a00aae2dbef8a8821dfcb81e059e9bcbc64dcfc9823868d65e0f3a10cc4a686a
7
+ data.tar.gz: 6daafdb98e05ac2e198c19248f548c7b2761c5bf247399ae872f00da43398718840c4ad6df1bfef4b86289db8a8ced8c10917dbf3a7ba01a9ed182d1b9c2cfe3
@@ -82,6 +82,20 @@ module Paysafe
82
82
  fail_or_return_response_body(response.code, response_body)
83
83
  end
84
84
 
85
+ def update_profile(id:, merchantCustomerId:, locale:, **args)
86
+ data = {
87
+ merchantCustomerId: merchantCustomerId,
88
+ locale: locale,
89
+ firstName: args[:firstName],
90
+ lastName: args[:lastName],
91
+ email: args[:email]
92
+ }
93
+
94
+ response = put(path: "/customervault/v1/profiles/#{id}", data: data)
95
+ response_body = symbolize_keys!(response.parse)
96
+ fail_or_return_response_body(response.code, response_body)
97
+ end
98
+
85
99
  def create_address(profile_id:, country:, zip:, **args)
86
100
  data = {
87
101
  nickName: args[:nickName],
@@ -1,3 +1,3 @@
1
1
  module Paysafe
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paysafe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Julio
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler