lago-ruby-client 0.43.0.pre.beta → 0.44.0.pre.beta

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: e66776c9abf23db6d6d19179b54d373b1567e152f71617dd4574f76da7c652a1
4
- data.tar.gz: 44adeded21ca193a9466bd6f1de79bb3441381183ab22738416cf1b8628129c8
3
+ metadata.gz: 95a1a07bc5000d5bffdbdbd334f10195e5f53886b679c40493e3b7e720c3fe99
4
+ data.tar.gz: 2f31b2fa61b3a30ecccb913d45cfd84f1704d1421985d24231273f8fa4c10b11
5
5
  SHA512:
6
- metadata.gz: 204e2cf5a31c3d2736351b6a0f2f518389faef6f39a61d4ec107cd1ee65f54f371626779ce8baeb168d8d757daf9ae43df57871158ff5f8340ab688b6a36116c
7
- data.tar.gz: e4326b2d4d76e2b1eaff45424f72ec75fceb620c1f9a7916dbe2b07c20b0635cd60ea22fa0b74a6cba58893f4261f03e153d9d4c45428c64f05a2ccdf84ba07d
6
+ metadata.gz: 2ace09b589e8e0c09b7c9502fbaa760274a709e4ddf05971029c48a38f109fc3aa9e60c7126b50a699653db3279c7467f97b3ac50e0b5e8d1454003132400e20
7
+ data.tar.gz: 72e6fde0bea4a15599c6c619a0f2ea793228dabc58d150c5c4b2fe374d3890f5620471966bbb9ee23795f0f4575368071f411c62fb030181906ce9738e468185
@@ -19,7 +19,8 @@ module Lago
19
19
  code: params[:code],
20
20
  description: params[:description],
21
21
  amount_cents: params[:amount_cents],
22
- amount_currency: params[:amount_currency]
22
+ amount_currency: params[:amount_currency],
23
+ tax_codes: params[:tax_codes],
23
24
  }.compact
24
25
  }
25
26
  end
@@ -90,7 +90,7 @@ module Lago
90
90
  processed_fees = []
91
91
 
92
92
  fees.each do |f|
93
- result = (f || {}).slice(:add_on_code, :unit_amount_cents, :units, :description)
93
+ result = (f || {}).slice(:add_on_code, :unit_amount_cents, :units, :description, :tax_codes)
94
94
 
95
95
  processed_fees << result unless result.empty?
96
96
  end
data/lib/lago/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lago
4
- VERSION = '0.43.0-beta'
4
+ VERSION = '0.44.0-beta'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lago-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0.pre.beta
4
+ version: 0.44.0.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt