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 +4 -4
- data/lib/lago/api/resources/customer.rb +9 -1
- data/lib/lago/api/resources/event.rb +2 -0
- data/lib/lago/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4efab650d00c696bc613e6c879bf324c08d2da347af5d5e72d751832bd1fefcb
|
4
|
+
data.tar.gz: 4cb506189165871f589e3d604aee86f32757b5ef1f3355d81e20f7d9f44b1f38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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
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.
|
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-
|
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.
|
183
|
+
rubygems_version: 3.3.27
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Lago Rest API client
|