lago-ruby-client 0.53.0.pre.beta → 0.55.0.pre.beta
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 +3 -2
- data/lib/lago/api/resources/event.rb +1 -8
- data/lib/lago/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bab6b42d6dc70e7c18106b51256cffe3dd0aeb4dd05a7273dd766a3cdbc9c02
|
4
|
+
data.tar.gz: ad6ff39b044755d9acb0c79e9f776acbac45d8bcba61786656d3b0457ea1fa31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5541ac1e6220afdcadb58acec89941529692bf82b12f861dcbb384fe9a65a20f814bc2c6e737275bbad54496daee9fd693765d1d5ad44a1c9ee971dcf2517138
|
7
|
+
data.tar.gz: c321cb5b53a33f5d557bfe2e19e3d866edcb044c234e50b9fdd17bbf802c27c6fed77387aa20d67314184188d881196a9930ff3c8359b1a7b3a37c7427de2b88
|
@@ -46,9 +46,9 @@ module Lago
|
|
46
46
|
"#{client.base_api_url}#{api_resource}/#{external_customer_id}/checkout_url",
|
47
47
|
)
|
48
48
|
|
49
|
-
response = connection.post(uri
|
49
|
+
response = connection.post(uri)[root_name]
|
50
50
|
|
51
|
-
JSON.parse(response.to_json, object_class: OpenStruct)
|
51
|
+
JSON.parse(response.to_json, object_class: OpenStruct)
|
52
52
|
end
|
53
53
|
|
54
54
|
def whitelist_params(params)
|
@@ -88,6 +88,7 @@ module Lago
|
|
88
88
|
(billing_params || {}).slice(
|
89
89
|
:invoice_grace_period,
|
90
90
|
:payment_provider,
|
91
|
+
:payment_provider_code,
|
91
92
|
:provider_customer_id,
|
92
93
|
:sync,
|
93
94
|
:sync_with_provider,
|
@@ -41,14 +41,7 @@ module Lago
|
|
41
41
|
|
42
42
|
def whitelist_batch_params(params)
|
43
43
|
{
|
44
|
-
|
45
|
-
transaction_id: params[:transaction_id],
|
46
|
-
external_customer_id: params[:external_customer_id],
|
47
|
-
code: params[:code],
|
48
|
-
timestamp: params[:timestamp],
|
49
|
-
external_subscription_ids: params[:external_subscription_ids],
|
50
|
-
properties: params[:properties],
|
51
|
-
}.compact,
|
44
|
+
events: params[:events],
|
52
45
|
}
|
53
46
|
end
|
54
47
|
|
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: 0.
|
4
|
+
version: 0.55.0.pre.beta
|
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:
|
11
|
+
date: 2024-02-05 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: []
|
@@ -164,7 +164,7 @@ metadata:
|
|
164
164
|
homepage_uri: https://www.getlago.com/
|
165
165
|
source_code_uri: https://github.com/getlago/lago-ruby-client
|
166
166
|
documentation_uri: https://doc.getlago.com
|
167
|
-
post_install_message:
|
167
|
+
post_install_message:
|
168
168
|
rdoc_options: []
|
169
169
|
require_paths:
|
170
170
|
- lib
|
@@ -179,8 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.3.1
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
183
|
-
signing_key:
|
182
|
+
rubygems_version: 3.3.3
|
183
|
+
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Lago Rest API client
|
186
186
|
test_files: []
|