lago-ruby-client 0.18.0.pre.alpha → 0.19.4.pre.alpha

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: 4de2ae6f7cb42002cb3657858eaa66c140bc8371e635746b6491063b09b66924
4
- data.tar.gz: 7d6328c8f7deb3ce00b048de9d402d50fdf331b333e9e12b91a244a52987b8cc
3
+ metadata.gz: bba17cbcde5dd53840a5ab6156de8fd0e1cfd17b23af92574fe0d7b3d75d4679
4
+ data.tar.gz: 9f91e539fc00235670f26b17e1f9b0defd8b8eb0c9c99dc81616e2c7af6d55e1
5
5
  SHA512:
6
- metadata.gz: ce0bcc5352cff84a4afe4c186fedf4f2642d4ff3818b9d0c2e95b3c67dcfbedc7fc67dd800295d4c7356a7f409e38b9040bc7c2e73d17c4d388a95e73579ccdb
7
- data.tar.gz: 7a075b428a2324e0c26deb7230e27b64fe0d272c9b685d4c1cc412ff5ed442f2fcf2a7b956ae20ee295b7a0c0b97c5f54ae2fe5664df7e55bde998b8733c566c
6
+ metadata.gz: eb2fdf084cd5b9c5b77b665d657ad591e731de67cee9d9b1b45db4654c2740d9a8a62c7fc0dea7f740a9901ddc1ef2821396b1df43a938c8b94cd6f695898d97
7
+ data.tar.gz: 32521bc8a13639476edb51acfb72fe400279fead9ebe61e6cdfb5cf4d9dfbc8a3f72612096c539bbcfd89ad6ac6dd016c8979f7253a6dd5655d9733f0e4b4675
@@ -25,8 +25,8 @@ module Lago
25
25
  frequency: params[:frequency],
26
26
  frequency_duration: params[:frequency_duration],
27
27
  expiration: params[:expiration],
28
- expiration_date: params[:expiration_date]
29
- }.compact
28
+ expiration_at: params[:expiration_at],
29
+ }.compact,
30
30
  }
31
31
  end
32
32
  end
@@ -21,7 +21,7 @@ module Lago
21
21
 
22
22
  def whitelist_params(params)
23
23
  result_hash = {
24
- external_customer_id: params[:external_customer_id],
24
+ external_id: params[:external_id],
25
25
  address_line1: params[:address_line1],
26
26
  address_line2: params[:address_line2],
27
27
  city: params[:city],
@@ -36,6 +36,7 @@ module Lago
36
36
  url: params[:url],
37
37
  zipcode: params[:zipcode],
38
38
  currency: params[:currency],
39
+ timezone: params[:timezone],
39
40
  }
40
41
 
41
42
  whitelist_billing_configuration(params[:billing_configuration]).tap do |config|
@@ -24,6 +24,7 @@ module Lago
24
24
  city: params[:city],
25
25
  legal_name: params[:legal_name],
26
26
  legal_number: params[:legal_number],
27
+ timezone: params[:timezone],
27
28
  }.compact
28
29
 
29
30
  whitelist_billing_configuration(params[:billing_configuration]).tap do |config|
@@ -20,8 +20,8 @@ module Lago
20
20
  name: params[:name],
21
21
  paid_credits: params[:paid_credits],
22
22
  granted_credits: params[:granted_credits],
23
- expiration_date: params[:expiration_date]
24
- }.compact
23
+ expiration_at: params[:expiration_at],
24
+ }.compact,
25
25
  }
26
26
  end
27
27
  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.18.0-alpha'
4
+ VERSION = '0.19.4-alpha'
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.18.0.pre.alpha
4
+ version: 0.19.4.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  - !ruby/object:Gem::Version
174
174
  version: 1.3.1
175
175
  requirements: []
176
- rubygems_version: 3.2.33
176
+ rubygems_version: 3.3.3
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Lago Rest API client