fintoc 1.18.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c81c77f9c5dc5389743140736319e8066946de7ab4beab2b6cc2465c844d306f
4
- data.tar.gz: 2733b739719892ef4898547f3f2ad99bd7c3030351ed008a9f9140dd6a0d196c
3
+ metadata.gz: a8d6f383792632c8aff0f6a09bfa4d52e568556302a612834ec0db8acc17715e
4
+ data.tar.gz: 694f5f73a68d556b2afba14d6736641f4ecdc047080f91f41bbb1f76829322a3
5
5
  SHA512:
6
- metadata.gz: 1314ce75e9b9297aa1595cf9caf892d9ee051e034ec93969798f72f99ec63bcfffcddc7a9ba5d962667c55f4da55db252239cd5f37a1888e3d6b5d8eb5a6d9ba
7
- data.tar.gz: d9db5ecb6b3cc450806c8cae88fad74d65bc0d4295153ec042b840152c11d3f7895b2002fa8f072d8c09dd4816f1cd658e8e8a67426cd6e68f82516887670623
6
+ metadata.gz: 9b3130f62e8db48c9681855e73dea2407458614868fe96e87af10d3b7fa7b4feb6c8beb0def765df11a5dec09c9dd2b3eaf88545e0f01dd407952356110dfa12
7
+ data.tar.gz: 572be8239e5447bac5871fa6e044ccc664ad1b92f9a63927d517c3cff3d9afd0c2107309b3577ddd7bce5e4d1f23c22c4ef07e67b4d3e243bcae59ab7d1014d2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fintoc (1.18.0)
4
+ fintoc (1.19.0)
5
5
  http
6
6
  money-rails
7
7
  tabulate
data/lib/fintoc/errors.rb CHANGED
@@ -143,6 +143,7 @@ module Fintoc
143
143
  class RecipientBlockedAccountError < FintocError; end
144
144
  class InvalidAccountVerificationError < FintocError; end
145
145
  class PaymentMethodNotRefundableError < FintocError; end
146
+ class ForbiddenError < FintocError; end
146
147
 
147
148
  # 404 Not Found Errors
148
149
  class MissingResourceError < FintocError; end
@@ -271,6 +272,7 @@ module Fintoc
271
272
  # 503 Service Unavailable Errors
272
273
  class ProviderOutcomeUnknownError < FintocError; end
273
274
  class ProviderUnavailableError < FintocError; end
275
+ class InstallmentsTemporarilyUnavailableError < FintocError; end
274
276
 
275
277
  # Webhook Errors
276
278
  class WebhookSignatureError < FintocError; end
@@ -1,14 +1,15 @@
1
1
  module Fintoc
2
2
  module V2
3
3
  class Customer
4
- attr_reader :id, :object, :address, :created_at, :email, :metadata, :mode, :name, :phone,
5
- :tax_id
4
+ attr_reader :id, :object, :address, :created_at, :default_payment_method, :email, :metadata,
5
+ :mode, :name, :phone, :tax_id
6
6
 
7
7
  def initialize(
8
8
  id:,
9
9
  object:,
10
10
  address: nil,
11
11
  created_at: nil,
12
+ default_payment_method: nil,
12
13
  email: nil,
13
14
  metadata: nil,
14
15
  mode: nil,
@@ -21,6 +22,7 @@ module Fintoc
21
22
  @object = object
22
23
  @address = address
23
24
  @created_at = created_at
25
+ @default_payment_method = default_payment_method
24
26
  @email = email
25
27
  @metadata = metadata
26
28
  @mode = mode
@@ -1,3 +1,3 @@
1
1
  module Fintoc
2
- VERSION = '1.18.0'
2
+ VERSION = '1.19.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fintoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Ca Sardin