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: bd62cba382a7cdb1ba7c61099e0de059f26fecd5621fc51b012b1e437196d6a8
4
- data.tar.gz: 639e49a75a091149046608b05e4a4f9b55500de738eb4f254dd9da58db12e2e2
3
+ metadata.gz: 95a1a07bc5000d5bffdbdbd334f10195e5f53886b679c40493e3b7e720c3fe99
4
+ data.tar.gz: 2f31b2fa61b3a30ecccb913d45cfd84f1704d1421985d24231273f8fa4c10b11
5
5
  SHA512:
6
- metadata.gz: 4ea7d8657cabee11251e2398f2f17501a213c61fe103e964baa487e79ab322f8a627269f99f2bf324907d69c7012442ec98716625772268ab9e3c0f8530b27c6
7
- data.tar.gz: 848b7dda992d5770ffeafabed2cc357c4828b7bb16f5a02eded413a24bd2b84d041eed98eadc0f804469725f3b2e7368b5ee0327d4fe8c6e41d0c6d16e1d0214
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
@@ -16,6 +16,7 @@ module Lago
16
16
  {
17
17
  root_name => {
18
18
  webhook_url: params[:webhook_url],
19
+ signature_algo: params[:signature_algo],
19
20
  }.compact,
20
21
  }
21
22
  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.42.1-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.42.1.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