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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35a54ade93d67abf2e5e752fd906385e8b184d8369f7936e1b24ce4a8cefa81b
4
- data.tar.gz: 3a0aa3a64da8fbb96ea1391dc409b953c86bf9088b4f9655bede97c09280fb7a
3
+ metadata.gz: 4ea680add823daf16650929ee9982690f85f82da1d563c0f83d97c9498b3a37f
4
+ data.tar.gz: 18934c41a21e8ea0de19b492f78a0122985319bf4dae2327a6d2369da43548b0
5
5
  SHA512:
6
- metadata.gz: e89eb0daf775f8ee800f5f1f858952b3f871c8988792d2a33e28a2bc7850fe5399e9cf5f55258b00115f294e7bb6df533c5698cd3ea0a4c1582535121cf364af
7
- data.tar.gz: bf65e78de0646a69b4338c2e3659308e757a2380d546a1946b0bab7d67b873037562c6dcb9720b1a2d2a3c6a2c5ee872e5580f181a0ee970d2b307321cdf655a
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, :net_payment_term)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lago
4
- VERSION = '1.52.0'
4
+ VERSION = '1.53.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lago-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.52.0
4
+ version: 1.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic