solidus_mp_dois 0.0.8 → 0.0.9

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: 80632d9a2c759f03cf46cb691b62c9f6380a8f3de086afc0bac0065dae6798bc
4
- data.tar.gz: f2ca611c4acd8111af809827072018f57e04c3e2bbebf5fc9f580e05450ccf70
3
+ metadata.gz: 5ebef0dcf722dda6977b818295e2e6c75800a331541350ce6c429a0ed8cdff39
4
+ data.tar.gz: 00c49dc7f47be4986e9d434b728a6a39573e9469b3bd1d4d1ca8dc1de21b4648
5
5
  SHA512:
6
- metadata.gz: 0f1ee67012256432f4dcb026afb340bddb9fce91374c63d28a08b4d701f0f473d1d9d0b8b176a73b66c08ec98f42969628c9603387c0311e913f4b543e16b198
7
- data.tar.gz: '094ec31b037a3e266374449e930dc17e98201d043753baa0b485ad219baaa4ab253f5eefbd73f613b521b5087d0b3aa85ae54846df768d06b1cd7c9a9aedd4ee'
6
+ metadata.gz: 1189962e09a95c85ab5b710c4a1006ccdf14cdc445d187dde3d77393d9a3f7d86fd1829de9cb43bf2aa40c00018a7e17fc62b30b847e021247fe2a164b38d063
7
+ data.tar.gz: 47611302eb6cbbd2a3c4c607caf6ca716eb2250fda0d8cf724f393e88afd08f456598ae35c8416c8d7a4aa83a878c6d38448f8475f628700ef33db5ea20df8ea
@@ -1,2 +1,5 @@
1
- json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :card_brand, :installments,
2
- :last_four_digits)
1
+ if payment_source.respond_to?(:card_brand)
2
+ json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :card_brand, :installments, :last_four_digits)
3
+ else
4
+ json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :credit_card_brand, :installments, :last_four_digits)
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp_dois
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todas Essas Coisas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-11 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_brazilian_adaptations