lago-ruby-client 0.34.0.pre.beta → 0.35.0.pre.beta

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: deb3eba2034074188358ea0ce20b4ac7718a02488011549fe784330dec840377
4
- data.tar.gz: 1f5af1474abcab68c1f8d007f807c74e41fb3880a97cb38917621c905ef9254e
3
+ metadata.gz: 650d261bf44df20f9e4f2402f7189ba5e70fa984eec578260a81d04ed83c709f
4
+ data.tar.gz: f597ce60ca4e1d3bcd07846ee527c49882efa477244cb26018d2e496ac668c14
5
5
  SHA512:
6
- metadata.gz: 41999a6fb04cf188e1d591a62d9227413918d37152703f99f9bf1ba0deb40750a88d3c503baca0695ede06979b27d2cac4846f7108a7fec8a128acba26bfb159
7
- data.tar.gz: 244e27bec3a0425d5e9f519249b8ebd35f772af32bbf09711f54d69dbcc448b2cfd5aef4d92817fa946b2c320d28002674ca89aed8e70b099d35566854f63bea
6
+ metadata.gz: 330facd9ab6ae677b4010cf4499d2b13d882e1b09d34c93ac3a1709c52164aaed646a81555dd6f81099b303feab161237d8fc259974a1accc680f88fa43887c3
7
+ data.tar.gz: c53f9ce0fc685789093558459bfede6b46d2fa80deb14c1cde5b1188c340e842a780868f31d3a740dc72e57fea7b2fa0cee12959442e68adef6a9d268335dd0b
@@ -16,7 +16,9 @@ module Lago
16
16
  result_hash = {
17
17
  invoice_id: params[:invoice_id],
18
18
  reason: params[:reason],
19
- refund_status: params[:refund_status]
19
+ refund_status: params[:refund_status],
20
+ credit_amount_cents: params[:credit_amount_cents],
21
+ refund_amount_cents: params[:refund_amount_cents],
20
22
  }.compact
21
23
 
22
24
  whitelist_items(params[:items] || []).tap do |items|
@@ -41,6 +41,7 @@ module Lago
41
41
  :billable_metric_id,
42
42
  :charge_model,
43
43
  :pay_in_advance,
44
+ :invoiceable,
44
45
  :min_amount_cents,
45
46
  :properties,
46
47
  :group_properties,
data/lib/lago/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lago
4
- VERSION = '0.34.0-beta'
4
+ VERSION = '0.35.0-beta'
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: 0.34.0.pre.beta
4
+ version: 0.35.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-05-29 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt