inter_api 0.1.4 → 0.1.5
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 +1 -1
- 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: 95c86c38237537b7cff6d601ac6f5a04bec9a1fbf18ea2283226cb02957cba8d
|
4
|
+
data.tar.gz: aaafdf3f54ef068a0b3389da1915623dce2570cbadb3ac84fbefd592a1ab7e32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27f9a893fead1db9cc001c00f62298af9a04cf8d17ed7be8c71fa8458351a4c6d7889c3494d5a5605398d14aa8d9efdf5b9b9e67169140ac64383a784a21335
|
7
|
+
data.tar.gz: 7144c8950e292e4df2d5b13e6ffb616528bcab0c6df2be0d04b7b8f25a059c8047f6f4a22affa31feb51d5473125ed0465f18b9a62d0705a3da049b46df8f414
|
data/lib/inter_api/client.rb
CHANGED
@@ -69,7 +69,7 @@ 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
|
72
|
+
def update_payment(payment_id, body)
|
73
73
|
response = update_payment_request(payment_id, JSON.dump(body)).run
|
74
74
|
InterApi::Payment.new(response.json, self)
|
75
75
|
end
|
data/lib/inter_api/version.rb
CHANGED