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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebf4c931a13edda0c526f8020fc65d91d355997fc403968ba8cf8d468d4b5423
4
- data.tar.gz: 6f7183cf731bf26705f0ba6ece04f25b22fed56fdb90355d715919a55c430de9
3
+ metadata.gz: 4c305373c21fb67bae2babd2a584dec0da485c1e7e08723dab7cc80f769cc77c
4
+ data.tar.gz: 8e14a26390eec3f29a2aff59a3cabe58d32f3d3f582aa6c7b0d86a8490cf476c
5
5
  SHA512:
6
- metadata.gz: 2993e344a72e2511be6adf96fe94d03739a79fff71c36e58ba9cd83a933a80218a67f4e520c2daaf5b641132a19ce8d0047c81c1255dfff3de49ac2744c9b177
7
- data.tar.gz: 83ba77625890a8abd45935da2f28e946fa4aa3b07103d95c0eed44c4a59b057b151401c4d29c240df49b9a868baefc117d7b0288f4d48d998157b24fbfbe6ec0
6
+ metadata.gz: 876363b28280c3872131a75ee2babe00ab0e09603325e1183afd1a0876d97ea5117e277df760beda2ac80421dc120be76daa939acea66c7104f04e28023441a6
7
+ data.tar.gz: 2219528db956bed1e098fcd23f0d27450f4facc5e68cfcb123921fa371d1f41707b74fff54f4e368ad2c52b7a804035a7b657598df80991ebe32f651b5b7fde8
@@ -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, amount)
73
- response = update_payment_request(payment_id, JSON.dump(body)).run
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InterApi
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inter_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses