lago-ruby-client 1.52.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lago/api/resources/credit_note.rb +1 -0
- data/lib/lago/api/resources/invoice.rb +1 -2
- data/lib/lago/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: 4ea680add823daf16650929ee9982690f85f82da1d563c0f83d97c9498b3a37f
|
|
4
|
+
data.tar.gz: 18934c41a21e8ea0de19b492f78a0122985319bf4dae2327a6d2369da43548b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b119f819c955234fde632fd2d4ed5c282fb080efad7af30708fd66c3ca91ac04f81952b6a7a26b93643ca84b76bb8684f8dd512dd2dc6e7ae9cb943d8e9cf8a
|
|
7
|
+
data.tar.gz: f97506ee25b810bf234b46bfe806d18f06ee9258994cc9e2f03521bf53256afde767d873a315f64756e6cf673c3b189d0036ef3507f621e659eb4d573226332a
|
|
@@ -18,6 +18,7 @@ module Lago
|
|
|
18
18
|
result_hash = {
|
|
19
19
|
invoice_id: params[:invoice_id],
|
|
20
20
|
reason: params[:reason],
|
|
21
|
+
description: params[:description],
|
|
21
22
|
refund_status: params[:refund_status],
|
|
22
23
|
credit_amount_cents: params[:credit_amount_cents],
|
|
23
24
|
refund_amount_cents: params[:refund_amount_cents],
|
|
@@ -94,7 +94,7 @@ module Lago
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
def whitelist_params(params)
|
|
97
|
-
result = params.slice(:payment_status
|
|
97
|
+
result = params.slice(:payment_status)
|
|
98
98
|
|
|
99
99
|
if params.key?(:metadata)
|
|
100
100
|
metadata = whitelist_metadata(params[:metadata])
|
|
@@ -124,7 +124,6 @@ module Lago
|
|
|
124
124
|
result = {
|
|
125
125
|
external_customer_id: params[:external_customer_id],
|
|
126
126
|
currency: params[:currency],
|
|
127
|
-
net_payment_term: params[:net_payment_term],
|
|
128
127
|
skip_psp: params[:skip_psp],
|
|
129
128
|
billing_entity_code: params[:billing_entity_code],
|
|
130
129
|
purchase_order_number: params[:purchase_order_number]
|
data/lib/lago/version.rb
CHANGED