lago-ruby-client 0.52.1.pre.beta → 0.52.2.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: 137db577a0be3e40014c0530d482d92531a8ce5ec6169eed1bc8500834a6d712
4
- data.tar.gz: ac6157ccaa1c32e86a1457300362bd09b2f00953c2944ecbe258352d6634f061
3
+ metadata.gz: 5ae6bbe19cdae52cc8ec1e9e6c146ff8190c317adc1801c5d130a192678ebff5
4
+ data.tar.gz: cdc030eee49b3adeb895783f561cfd434ffa91b6edebcaf5bccbc741209e0e83
5
5
  SHA512:
6
- metadata.gz: deb5690fad91ec7110ddb5e2023c6de25dab18246f1a34e02e5086b5bb44c4f08614bfe8d3ce52ed4c8219e2dd6613e47edfdca08f9b10148e630c96231549d5
7
- data.tar.gz: 720409f69a56ae3f1a2b0c170f69ebd79799c5c71d947c380fcbd4ddc1f0f407611ca5f1f65564b497c39028d5f740091df2748572ab5c7fbfe368f7cda8f92b
6
+ metadata.gz: 2638ab5b7f59540ac33a32cd412fea0065f174894e92840fa5daca7ca55ce53409ef4e19a2648afbdae1edd7685bd38af0820c21c164183fd991b46a6067f876
7
+ data.tar.gz: 0cdbeb94a04aaf18f6f71a5c49f96ac25782be816979ea11051dffae4a16d5ea94d2ca2ee74e815d774652e7a62f24a32a4b9eefb31a3b32748689e0473684de
@@ -34,7 +34,7 @@ module Lago
34
34
  end
35
35
 
36
36
  def get(path = uri.path, identifier:)
37
- uri_path = identifier.nil? ? path : "#{path}/#{identifier}"
37
+ uri_path = identifier.nil? ? path : "#{path}/#{URI.encode_www_form_component(identifier)}"
38
38
  response = http_client.send_request(
39
39
  'GET',
40
40
  uri_path,
@@ -3,13 +3,13 @@
3
3
  module Lago
4
4
  module Api
5
5
  module Resources
6
- class OutstandingInvoice < Base
6
+ class InvoiceCollection < Base
7
7
  def api_resource
8
- 'analytics/outstanding_invoices'
8
+ 'analytics/invoice_collection'
9
9
  end
10
10
 
11
11
  def root_name
12
- 'outstanding_invoice'
12
+ 'invoice_collection'
13
13
  end
14
14
  end
15
15
  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 = '0.52.1-beta'
4
+ VERSION = '0.52.2-beta'
5
5
  end
@@ -23,10 +23,10 @@ require 'lago/api/resources/fee'
23
23
  require 'lago/api/resources/gross_revenue'
24
24
  require 'lago/api/resources/group'
25
25
  require 'lago/api/resources/invoice'
26
+ require 'lago/api/resources/invoice_collection'
26
27
  require 'lago/api/resources/invoiced_usage'
27
28
  require 'lago/api/resources/mrr'
28
29
  require 'lago/api/resources/organization'
29
- require 'lago/api/resources/outstanding_invoice'
30
30
  require 'lago/api/resources/plan'
31
31
  require 'lago/api/resources/subscription'
32
32
  require 'lago/api/resources/tax'
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.52.1.pre.beta
4
+ version: 0.52.2.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-11-21 00:00:00.000000000 Z
11
+ date: 2023-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -145,10 +145,10 @@ files:
145
145
  - lib/lago/api/resources/gross_revenue.rb
146
146
  - lib/lago/api/resources/group.rb
147
147
  - lib/lago/api/resources/invoice.rb
148
+ - lib/lago/api/resources/invoice_collection.rb
148
149
  - lib/lago/api/resources/invoiced_usage.rb
149
150
  - lib/lago/api/resources/mrr.rb
150
151
  - lib/lago/api/resources/organization.rb
151
- - lib/lago/api/resources/outstanding_invoice.rb
152
152
  - lib/lago/api/resources/plan.rb
153
153
  - lib/lago/api/resources/subscription.rb
154
154
  - lib/lago/api/resources/tax.rb
@@ -179,7 +179,7 @@ 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.3.3
182
+ rubygems_version: 3.0.3.1
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Lago Rest API client