lago-ruby-client 1.11.0 → 1.15.0

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: a023542440c173fcf116ddf4a7b6fdfbf35a8e1cbd6c3777ebe8ccf57937a091
4
- data.tar.gz: f760dab07b17914619072ce29f609094b8d19b80be0aa8413c772c9e3da5f575
3
+ metadata.gz: 4efab650d00c696bc613e6c879bf324c08d2da347af5d5e72d751832bd1fefcb
4
+ data.tar.gz: 4cb506189165871f589e3d604aee86f32757b5ef1f3355d81e20f7d9f44b1f38
5
5
  SHA512:
6
- metadata.gz: 912d82e80c071eb39d0b8ade98cac367bfec53598649b3a7ce480860d4d539806f0836befb6a8bf1bfcb41555045848c15c2f3e2dbdd4f203239d2f51987568e
7
- data.tar.gz: 2cb0ba95a24dab5bff7b4e9d6755d1827f34c6486234f40ed23501d35a4699986cc4d729117fcb7901e4ebafefce83874c2a903527336c2c7d56a10d40acff66
6
+ metadata.gz: efe8d1361cc3e868afdf4f5e9516cb9c6e97e9241018b574063bf7a1511e6d29561421b2aadaa6731d24fd4985dc97f015393542ef9b3ab2e0bf23d5a4e49241
7
+ data.tar.gz: b2f47a00dabbcbf56931bfe2d9e2a2e72c2495fcd79cfaa4592381db4cfff81146abe2d58a037854ba1ab41e40bb38639fbffa2eb6ac8af69d9516c757b7c538
@@ -65,6 +65,9 @@ module Lago
65
65
  tax_identification_number: params[:tax_identification_number],
66
66
  logo_url: params[:logo_url],
67
67
  name: params[:name],
68
+ firstname: params[:firstname],
69
+ lastname: params[:lastname],
70
+ customer_type: params[:customer_type],
68
71
  phone: params[:phone],
69
72
  state: params[:state],
70
73
  url: params[:url],
@@ -121,7 +124,12 @@ module Lago
121
124
 
122
125
  (integration_customers || []).each do |m|
123
126
  result = (m || {})
124
- .slice(:id, :external_customer_id, :integration_type, :integration_code, :subsidiary_id, :sync_with_provider)
127
+ .slice(:id,
128
+ :external_customer_id,
129
+ :integration_type,
130
+ :integration_code,
131
+ :subsidiary_id,
132
+ :sync_with_provider)
125
133
 
126
134
  processed_integration_customers << result unless result.empty?
127
135
  end
@@ -43,6 +43,7 @@ module Lago
43
43
  code: params[:code],
44
44
  timestamp: params[:timestamp],
45
45
  external_subscription_id: params[:external_subscription_id],
46
+ precise_total_amount_cents: params[:precise_total_amount_cents],
46
47
  properties: params[:properties],
47
48
  }.compact,
48
49
  }
@@ -59,6 +60,7 @@ module Lago
59
60
  root_name => {
60
61
  code: params[:code],
61
62
  external_subscription_id: params[:external_subscription_id],
63
+ precise_total_amount_cents: params[:precise_total_amount_cents],
62
64
  properties: params[:properties],
63
65
  }.compact,
64
66
  }
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.11.0'
4
+ VERSION = '1.15.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.11.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.3.3
183
+ rubygems_version: 3.3.27
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Lago Rest API client