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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ef5ce1e7629dec0502dc357420093b7d839cf915040acd6acc7fcc78f0e7d59
4
- data.tar.gz: 3642209f573836df569a5df2c1e97d4f57ce7e3593dc89bef91bf9afccca5a51
3
+ metadata.gz: b92b7754e51f42f0fe88876439a45b7bd486f3d4a0b4ddbe7b0bc7f9f26f75e9
4
+ data.tar.gz: 34b9b85fe2f993b63baa83f4cc6a2ef4b3a579ac3c9449fabd6ec91c703d6e85
5
5
  SHA512:
6
- metadata.gz: '092cf8f0854dba266cdd79726e80913eec63f0f2ad4e81acec4baa5165498f740ea78024d47007c3d1fc8ece0862405f04619da096f582aa338b410fa8a081f7'
7
- data.tar.gz: 8866700ae106af20bbd742921834f4a3413b117ea9dbe3aad26ebfb54ea9a78e9ff89d96bc18c917c1e8b39cdad379f7dcac133c6827ada892834591eb600f38
6
+ metadata.gz: bd4bb291826bb0883ad111cc1134636b5235c8022f0a03da6622ff441927f47ffc3a5836c119bf75c0ae18ec8d7dadf3fd3898a466036b66c5a7f93bbef52a12
7
+ data.tar.gz: 688c348fa83bf6d42289673a8c114e5406534548991e7e0d338feb7d79280311352ca131041c36864a8be36ff49b5c67fd43af9a8d956dcd0aa3d609e8699e3c
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MpApi
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mp_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - caio