catarse_pagarme 2.14.6 → 2.14.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/catarse_pagarme/slip_controller.rb +5 -2
- data/lib/catarse_pagarme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b17aa42cfc086d08abc40ae926b1666493ae35600b79928d6fc8228e1b327e
|
4
|
+
data.tar.gz: bcc764e79f071249fd06e49d00c7af6c3599d54a61d8a561aea1249d96098890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33542924bf56400602f63ccd81b7eee5d8f626ab20c9c6f947f5eda19b3c8f269eb2f93b770b1de6420d214067d153f335a54e8e9a96d200c78e393dbe414794
|
7
|
+
data.tar.gz: '00296e3fbef2a605225afb83546aefa0e3329a5f888d45c92b047461389a56aece0462de94762149e74c02783aebcdc73ae851c1ba5832eb6056f883806e66a5'
|
data/Gemfile.lock
CHANGED
@@ -40,7 +40,11 @@ module CatarsePagarme
|
|
40
40
|
customer: {
|
41
41
|
email: payment.user.email,
|
42
42
|
name: payment.user.name,
|
43
|
-
|
43
|
+
type: payment.user.account_type == 'pf' ? 'individual' : 'corporation'
|
44
|
+
documents: [{
|
45
|
+
type: payment.user.account_type == 'pf' ? 'cpf' : 'cnpj',
|
46
|
+
number: document_number
|
47
|
+
}],
|
44
48
|
},
|
45
49
|
metadata: metadata_attributes
|
46
50
|
}
|
@@ -53,6 +57,5 @@ module CatarsePagarme
|
|
53
57
|
def international?
|
54
58
|
contribution.international?
|
55
59
|
end
|
56
|
-
|
57
60
|
end
|
58
61
|
end
|