lago-ruby-client 0.49.0.pre.beta → 0.50.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: 072a79f8acff2afd5899ae8ff2780ec1eba4fc769b3799ee8b465ee5c1941265
4
- data.tar.gz: 296248f68d455e649dd05b79e6d4092b44d7c1aacf2f37870617348f5a366542
3
+ metadata.gz: 6648835d8488417de038880a3124b10d68756f9185098fa54250e9167566a8e9
4
+ data.tar.gz: a26d2b61479f46e1ba144c048aa7127f73889950d26bf0a761dc34e290df6663
5
5
  SHA512:
6
- metadata.gz: 60a9a6bd1bc167e54db965d0feccba55a8f4f57e4ce19da8f55708ba7dd27a3257144329e90f340376e0456998117a6a8ce82811b719e6878bb7c645a1873cd6
7
- data.tar.gz: 9490fc69ee57f8293f2cf7ca7608bed779b2bbc1444e6a0d3dcafba7d35618eab26868f140608a9c65bac6ffa207f589a474e8d6423059b6140582595957086b
6
+ metadata.gz: 3b52dc25f131fb69f85ef12c6f7236cd48c7d839a883bc5b1407770b16a095c714f5f0c98f588c99cac026b5bb4899e78124678f297ffd42ab27495d8b4354e1
7
+ data.tar.gz: a0e8af78ed0d728f77507391c78de2cb56a73e205c6560b850d21e46da9e1ef47b7933e299154a9f4656139bd622e2521c7f103c86cc395f5b97adca76a74d94
@@ -12,11 +12,6 @@ module Lago
12
12
  'event'
13
13
  end
14
14
 
15
- def create(params)
16
- payload = whitelist_params(params)
17
- connection.post(payload)
18
- end
19
-
20
15
  def batch_create(params)
21
16
  uri = URI("#{client.base_api_url}#{api_resource}/batch")
22
17
 
@@ -23,6 +23,7 @@ module Lago
23
23
  subscription_at: params[:subscription_at],
24
24
  ending_at: params[:ending_at],
25
25
  subscription_date: params[:subscription_date], # Deprecated
26
+ plan_overrides: params[:plan_overrides],
26
27
  }.compact
27
28
  }
28
29
  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.49.0-beta'
4
+ VERSION = '0.50.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.49.0.pre.beta
4
+ version: 0.50.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-10-05 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  - !ruby/object:Gem::Version
176
176
  version: 1.3.1
177
177
  requirements: []
178
- rubygems_version: 3.3.3
178
+ rubygems_version: 3.0.3.1
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Lago Rest API client