lago-ruby-client 0.35.0.pre.beta → 0.39.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: 650d261bf44df20f9e4f2402f7189ba5e70fa984eec578260a81d04ed83c709f
4
- data.tar.gz: f597ce60ca4e1d3bcd07846ee527c49882efa477244cb26018d2e496ac668c14
3
+ metadata.gz: 1b6dbc90312ccbab37f687fe7c7a930e0a55eb2f08fce005c2093698f76fa03a
4
+ data.tar.gz: 204cc8aa9b6cee9066165f7c2114f56b455acadd2010dfdfb034418403f736c3
5
5
  SHA512:
6
- metadata.gz: 330facd9ab6ae677b4010cf4499d2b13d882e1b09d34c93ac3a1709c52164aaed646a81555dd6f81099b303feab161237d8fc259974a1accc680f88fa43887c3
7
- data.tar.gz: c53f9ce0fc685789093558459bfede6b46d2fa80deb14c1cde5b1188c340e842a780868f31d3a740dc72e57fea7b2fa0cee12959442e68adef6a9d268335dd0b
6
+ metadata.gz: f6f9c9ab67d5d5d0053cf85eecee516f214c84aa2a08f7221c0f0d68360b305c436e7d07f91657c88ba200656289edcad593b888c975d28ce2dea74396db0641
7
+ data.tar.gz: fd9d4016dd56a503b420b0dc15c4948a7e9784f7b8566447f81d539316970bd61d17b2263ffd8a38c34c1826322a61c70ec43d664e7b4a0142350c7fc9851cb7
@@ -16,6 +16,7 @@ module Lago
16
16
  result_hash = {
17
17
  name: params[:name],
18
18
  code: params[:code],
19
+ description: params[:description],
19
20
  amount_cents: params[:amount_cents],
20
21
  amount_currency: params[:amount_currency],
21
22
  percentage_rate: params[:percentage_rate],
@@ -39,6 +39,7 @@ module Lago
39
39
  email: params[:email],
40
40
  legal_name: params[:legal_name],
41
41
  legal_number: params[:legal_number],
42
+ tax_identification_number: params[:tax_identification_number],
42
43
  logo_url: params[:logo_url],
43
44
  name: params[:name],
44
45
  phone: params[:phone],
@@ -66,7 +67,6 @@ module Lago
66
67
  :provider_customer_id,
67
68
  :sync,
68
69
  :sync_with_provider,
69
- :vat_rate,
70
70
  :document_locale,
71
71
  )
72
72
  end
@@ -15,6 +15,7 @@ module Lago
15
15
  def whitelist_params(params)
16
16
  result_hash = {
17
17
  webhook_url: params[:webhook_url],
18
+ webhook_urls: params[:webhook_urls],
18
19
  country: params[:country],
19
20
  address_line1: params[:address_line1],
20
21
  address_line2: params[:address_line2],
@@ -24,6 +25,7 @@ module Lago
24
25
  city: params[:city],
25
26
  legal_name: params[:legal_name],
26
27
  legal_number: params[:legal_number],
28
+ tax_identification_number: params[:tax_identification_number],
27
29
  timezone: params[:timezone],
28
30
  email_settings: params[:email_settings],
29
31
  }.compact
@@ -39,7 +41,6 @@ module Lago
39
41
  (billing_params || {}).slice(
40
42
  :invoice_footer,
41
43
  :invoice_grace_period,
42
- :vat_rate,
43
44
  :document_locale,
44
45
  )
45
46
  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.35.0-beta'
4
+ VERSION = '0.39.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.35.0.pre.beta
4
+ version: 0.39.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-06-02 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt