lago-ruby-client 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 356570945e40d6e4e5d6226878bb74f3aad7e28010b78f91f32d25b45bf8374f
4
- data.tar.gz: 744c2cd11920c792129340f703d32b87a5f0de91c4b472936505336c418cb92d
3
+ metadata.gz: 2620a9502bb2e2af1f96655efaf6f4adaeaa294480f351cb6694c595512bf3f8
4
+ data.tar.gz: e40a7e5174c33eed63f3a180bff56ff7be0011c39c572abd86381ca4472abd6d
5
5
  SHA512:
6
- metadata.gz: bd3a3b6cc44d5e0aee7de6e7e094f98a0678ea84e8a5ecd2724c998818d7920796e150ebe6f1be46f9e7603c07e1fe4147349a7eb18e5670d290544253cd9293
7
- data.tar.gz: 5224dd0c15d79de5777985981d8de7ab14e7c22c2d60c49a322bb88b85f2ad27209d8e123c5c72300044653db206ec9eb979cb8689f9809b8b3eb5e72e0b0d27
6
+ metadata.gz: 4e5f8b98f9f0b7e14d20e3fff688ffceed06520074a5792039b8c437a92889f92874f3c5e4bac88c15993e28720369fae76c1b5a63ac868e5d70b0f655505e05
7
+ data.tar.gz: cc80f7b21782e1c0e20fc05ea0d2ad9c035f2f6a4b459848e2141214eccbc3d56044c894cf8cc3150cae081fe0d8d14d5d081528269b0aff2d1ff58d7d28359a
@@ -46,7 +46,7 @@ module Lago
46
46
  "#{client.base_api_url}#{api_resource}/#{external_customer_id}/checkout_url",
47
47
  )
48
48
 
49
- response = connection.post(uri)[root_name]
49
+ response = connection.post({}, uri)[root_name]
50
50
 
51
51
  JSON.parse(response.to_json, object_class: OpenStruct)
52
52
  end
@@ -74,8 +74,10 @@ module Lago
74
74
  zipcode: params[:zipcode],
75
75
  currency: params[:currency],
76
76
  tax_codes: params[:tax_codes],
77
+ invoice_custom_section_codes: params[:invoice_custom_section_codes],
77
78
  timezone: params[:timezone],
78
79
  finalize_zero_amount_invoice: params[:finalize_zero_amount_invoice],
80
+ skip_invoice_custom_sections: params[:skip_invoice_custom_sections],
79
81
  }
80
82
 
81
83
  whitelist_billing_configuration(params[:billing_configuration]).tap do |config|
data/lib/lago/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lago
4
- VERSION = '1.16.0'
4
+ VERSION = '1.18.0'
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: 1.16.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-20 00:00:00.000000000 Z
11
+ date: 2025-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - lovro@getlago.com
128
128
  executables: []
@@ -165,7 +165,7 @@ metadata:
165
165
  homepage_uri: https://www.getlago.com/
166
166
  source_code_uri: https://github.com/getlago/lago-ruby-client
167
167
  documentation_uri: https://doc.getlago.com
168
- post_install_message:
168
+ post_install_message:
169
169
  rdoc_options: []
170
170
  require_paths:
171
171
  - lib
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubygems_version: 3.3.27
184
- signing_key:
184
+ signing_key:
185
185
  specification_version: 4
186
186
  summary: Lago Rest API client
187
187
  test_files: []