inter_api 0.1.4 → 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/inter_api/client.rb +2 -2
- data/lib/inter_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c305373c21fb67bae2babd2a584dec0da485c1e7e08723dab7cc80f769cc77c
|
4
|
+
data.tar.gz: 8e14a26390eec3f29a2aff59a3cabe58d32f3d3f582aa6c7b0d86a8490cf476c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876363b28280c3872131a75ee2babe00ab0e09603325e1183afd1a0876d97ea5117e277df760beda2ac80421dc120be76daa939acea66c7104f04e28023441a6
|
7
|
+
data.tar.gz: 2219528db956bed1e098fcd23f0d27450f4facc5e68cfcb123921fa371d1f41707b74fff54f4e368ad2c52b7a804035a7b657598df80991ebe32f651b5b7fde8
|
data/lib/inter_api/client.rb
CHANGED
@@ -69,8 +69,8 @@ module InterApi
|
|
69
69
|
patch_request("/pix/v2/cob/#{payment_id}", headers: build_headers, sslcert: @crt, sslkey: @key, body: JSON.dump(body))
|
70
70
|
end
|
71
71
|
|
72
|
-
def update_payment(payment_id, body
|
73
|
-
response = update_payment_request(payment_id,
|
72
|
+
def update_payment(payment_id, body)
|
73
|
+
response = update_payment_request(payment_id, body).run
|
74
74
|
InterApi::Payment.new(response.json, self)
|
75
75
|
end
|
76
76
|
|
data/lib/inter_api/version.rb
CHANGED