killbill-client 4.0.1 → 4.0.2

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
  SHA1:
3
- metadata.gz: b5092e81bd027f03e605324305a7d002e500af57
4
- data.tar.gz: 132d0769150bfdaa56913ac9363a826e25a4787b
3
+ metadata.gz: 6b9ea90d7d0f8900fb46499c6c3ee58f795ee8ac
4
+ data.tar.gz: 3d4161e7b193cccb9b945bb67fa362f7d3adb124
5
5
  SHA512:
6
- metadata.gz: 2898a7932bd29750e97aebbb2d814e850a8f0991a7be153d3cbb0da8d90d0880fc31852b704b893d733ee7be0f60e49576ddbda4860ceadcb1bfa2f4d0abdff4
7
- data.tar.gz: f8710f1d73525c46938e6dceb3b81a2d7bf1795c02532b567f9fa94990540cdea4baf24f2a283be12ac86fa7144ddfaaf788b994aa55cb0ca8b226ac9bbc2adf
6
+ metadata.gz: d6319c1811e50a0932843fa8a41bead6ddde9a62d26425f0c236a3f39a27dff58f3c07294b3377e74931abf36754c005cc961e91c7544d7f4bedf4cae79fea31
7
+ data.tar.gz: feca257a3fb5b9422435fa65ab032e4d2dd51756b4f2dda80fbe00265047fb794c9a035d33279dff75145c888899c3f9ca58cf8528f095c1eda2585fc6648476
@@ -144,12 +144,13 @@ module KillBillClient
144
144
  end
145
145
 
146
146
  def invoices(options = {})
147
+ params_hash = options.delete(:params)
148
+ options_to_merge = params_hash.nil? ? {} : params_hash
149
+ merged_options = { :includeInvoiceComponents => true }.merge(options_to_merge)
147
150
  self.class.get "#{KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/invoices",
148
- {
149
- :includeInvoiceComponents => true
150
- },
151
- options,
152
- Invoice
151
+ merged_options,
152
+ options,
153
+ Invoice
153
154
  end
154
155
 
155
156
  def migration_invoices(options = {})
@@ -1,3 +1,3 @@
1
1
  module KillBillClient
2
- VERSION = '4.0.1'
2
+ VERSION = '4.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Killbill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-22 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem-release