lago-ruby-client 0.29.0.pre.beta → 0.31.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 +1 -1
- data/lib/lago/api/resources/plan.rb +9 -1
- data/lib/lago/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8c9bfb01820b9a318a83989ce0d080665c6d67ff66cf5a068a91b9abc5d4ea2
|
4
|
+
data.tar.gz: 91babe2df17af3d908a6cd1a42ba094c26031d253377191a9301cf309f064669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24ec7bddb96299b1df4bf8b2f9af42e2c79030f29a28b13cef1d6e7978c8be8b4d21b83f25faf590f66c352bffff5b6a3bd988f36373b5a4de4ef2f0d99fd2d0
|
7
|
+
data.tar.gz: 5f2e5e0fb9299c4a675181e06e1d5aed84c18cd537bdba39b6c207ffda81c0fc71562ed8e6c614488e1694ed8c77c2e6ea77290c4afc367882809ad6d396b7db
|
@@ -36,7 +36,15 @@ module Lago
|
|
36
36
|
processed_charges = []
|
37
37
|
|
38
38
|
charges.each do |c|
|
39
|
-
result = (c || {}).slice(
|
39
|
+
result = (c || {}).slice(
|
40
|
+
:id,
|
41
|
+
:billable_metric_id,
|
42
|
+
:charge_model,
|
43
|
+
:instant,
|
44
|
+
:min_amount_cents,
|
45
|
+
:properties,
|
46
|
+
:group_properties,
|
47
|
+
)
|
40
48
|
|
41
49
|
processed_charges << result unless result.empty?
|
42
50
|
end
|
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.31.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-04
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|