lago-ruby-client 1.2.0 → 1.5.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: 74c3fdca4d03460c2c27122c72299f31793fb39bd5e198626e6c399190d2163a
4
- data.tar.gz: 95d6385f5dc43465dd2139a2a629e345175b0318d6bc3404797a3e5994b907f8
3
+ metadata.gz: cb9e6df6b3150b01446371960b078261389491047139f2f122eb785a5b1c7628
4
+ data.tar.gz: 8090827a83b5ff151aba6bf4861b83530b0985f9a7b7d6659ea10d5e53d104ec
5
5
  SHA512:
6
- metadata.gz: ad89e21632bf477ced956f38e2406017673d67c80f02d669c03f176cab200b8987f2f06f285c090a083e83ae34ed40f2de4bcee791a2c743c1ad7670c9261848
7
- data.tar.gz: 3eb0bc30ce569b0c26a72c4b997dc8e7900fa2bb397b1ee61327f572a430ce54e2c27eec21fc3327ce4612f816d20c50a5dbfbaed386989a6726abcd7a932cd4
6
+ metadata.gz: 7508a8145ae1026e8a6620ba6c921e4ff2e0e770cd97aa2267bf10e99d1d0153a9204c67827e94bd62b84fb673d9f1cfd32ef1c5041912a58d87d54ee82c0947
7
+ data.tar.gz: 26910df98892fd533dc7e00cea69bd06be37972316a4477bae630ba0ae24198e478a13b4c1be6f4e19f11301e6d48b312f56f48824fbd668a61f3278dc12f9de
@@ -37,9 +37,12 @@ module Lago
37
37
  :lago_id,
38
38
  :paid_credits,
39
39
  :granted_credits,
40
- :rule_type,
41
40
  :threshold_credits,
41
+ :trigger,
42
42
  :interval,
43
+ :method,
44
+ :started_at,
45
+ :target_ongoing_balance,
43
46
  )
44
47
 
45
48
  processed_rules << result unless result.empty?
@@ -24,7 +24,8 @@ module Lago
24
24
  'wallet_transaction' => {
25
25
  wallet_id: params[:wallet_id],
26
26
  paid_credits: params[:paid_credits],
27
- granted_credits: params[:granted_credits]
27
+ granted_credits: params[:granted_credits],
28
+ voided_credits: params[:voided_credits]
28
29
  }.compact
29
30
  }
30
31
  end
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.2.0'
4
+ VERSION = '1.5.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.2.0
4
+ version: 1.5.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-04-22 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt