lago-ruby-client 0.42.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a1a07bc5000d5bffdbdbd334f10195e5f53886b679c40493e3b7e720c3fe99
|
4
|
+
data.tar.gz: 2f31b2fa61b3a30ecccb913d45cfd84f1704d1421985d24231273f8fa4c10b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|