mp_api 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mp_api/payment_error.rb +1 -1
- data/lib/mp_api/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: b92b7754e51f42f0fe88876439a45b7bd486f3d4a0b4ddbe7b0bc7f9f26f75e9
|
4
|
+
data.tar.gz: 34b9b85fe2f993b63baa83f4cc6a2ef4b3a579ac3c9449fabd6ec91c703d6e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd4bb291826bb0883ad111cc1134636b5235c8022f0a03da6622ff441927f47ffc3a5836c119bf75c0ae18ec8d7dadf3fd3898a466036b66c5a7f93bbef52a12
|
7
|
+
data.tar.gz: 688c348fa83bf6d42289673a8c114e5406534548991e7e0d338feb7d79280311352ca131041c36864a8be36ff49b5c67fd43af9a8d956dcd0aa3d609e8699e3c
|
data/lib/mp_api/payment_error.rb
CHANGED
@@ -30,7 +30,7 @@ module MpApi
|
|
30
30
|
'cc_rejected_insufficient_amount' => 'Recusado por quantia insuficiente.',
|
31
31
|
'cc_rejected_call_for_authorize' => 'Recusado, ligue para a administradora do cartão para autorizar.',
|
32
32
|
'cc_rejected_other_reason' => 'Recusado por erro geral'
|
33
|
-
}
|
33
|
+
}[status_detail]
|
34
34
|
end
|
35
35
|
|
36
36
|
def message_by_error_code(code)
|
data/lib/mp_api/version.rb
CHANGED