lago-ruby-client 0.42.0.pre.beta → 0.43.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: 9c74ed77303be8ec35b3c733ba128cb238122a688df86246550a5395a1e59f0d
4
- data.tar.gz: 23953066533a3d163692fe938f88358bacdd42fb1a67b0a9149c72d78fdc5ff5
3
+ metadata.gz: e66776c9abf23db6d6d19179b54d373b1567e152f71617dd4574f76da7c652a1
4
+ data.tar.gz: 44adeded21ca193a9466bd6f1de79bb3441381183ab22738416cf1b8628129c8
5
5
  SHA512:
6
- metadata.gz: 8a2e897c9b87db9666e4572dc459758ff4dc844c8a1835468b1a126841726f652eb67e6a4d8fc6229375c4b49b7d059bbc05c4e9e74afc200130bab6b39946af
7
- data.tar.gz: 3ec3a01afa6a4cd97945974923f8d4b8bdf6f8bdd878c696c615d7bace7b42d9f98b878895ae6947c40ec6bb06b198053571a7aaaed4864ea1eed715f4edf5d5
6
+ metadata.gz: 204e2cf5a31c3d2736351b6a0f2f518389faef6f39a61d4ec107cd1ee65f54f371626779ce8baeb168d8d757daf9ae43df57871158ff5f8340ab688b6a36116c
7
+ data.tar.gz: e4326b2d4d76e2b1eaff45424f72ec75fceb620c1f9a7916dbe2b07c20b0635cd60ea22fa0b74a6cba58893f4261f03e153d9d4c45428c64f05a2ccdf84ba07d
@@ -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
+ net_payment_term: params[:net_payment_term],
42
43
  tax_identification_number: params[:tax_identification_number],
43
44
  logo_url: params[:logo_url],
44
45
  name: params[:name],
@@ -69,6 +70,7 @@ module Lago
69
70
  :sync,
70
71
  :sync_with_provider,
71
72
  :document_locale,
73
+ :provider_payment_methods,
72
74
  )
73
75
  end
74
76
 
@@ -52,6 +52,7 @@ module Lago
52
52
  def whitelist_params(params)
53
53
  result = {
54
54
  payment_status: params[:payment_status],
55
+ net_payment_term: params[:net_payment_term],
55
56
  }
56
57
 
57
58
  metadata = whitelist_metadata(params[:metadata])
@@ -76,6 +77,7 @@ module Lago
76
77
  result = {
77
78
  external_customer_id: params[:external_customer_id],
78
79
  currency: params[:currency],
80
+ net_payment_term: params[:net_payment_term],
79
81
  }
80
82
 
81
83
  fees = whitelist_fees(params[:fees])
@@ -25,6 +25,7 @@ module Lago
25
25
  city: params[:city],
26
26
  legal_name: params[:legal_name],
27
27
  legal_number: params[:legal_number],
28
+ net_payment_term: params[:net_payment_term],
28
29
  tax_identification_number: params[:tax_identification_number],
29
30
  timezone: params[:timezone],
30
31
  email_settings: params[:email_settings],
@@ -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.0-beta'
4
+ VERSION = '0.43.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.0.pre.beta
4
+ version: 0.43.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-07 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt