mp_api 0.3.2 → 0.3.3

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: 1ad0d87569bda2d5fd1c4894b172e603641d775370e8954f64ffde4e5306e008
4
- data.tar.gz: 39e0da14355f414c9f9d70dc2c7a47fe58f9a1fd5c48c9846bc27b98fb23298f
3
+ metadata.gz: 7ef5ce1e7629dec0502dc357420093b7d839cf915040acd6acc7fcc78f0e7d59
4
+ data.tar.gz: 3642209f573836df569a5df2c1e97d4f57ce7e3593dc89bef91bf9afccca5a51
5
5
  SHA512:
6
- metadata.gz: 0ad37f1e152106dac28d157dd35d20fd60265929358bba3ab1ee322df84e4190003257e73ac77e91de78240ee637443ff851c02c2c4f9bffd039af8116ef07a3
7
- data.tar.gz: ec72395c7c24c650c69fa4a2ae594645efc9d863ffc4f893c5a791c8efb47b815144a49977fb87c136e84aea2b43dfa43f541ffb9f61ce185c6adf1e140d40d2
6
+ metadata.gz: '092cf8f0854dba266cdd79726e80913eec63f0f2ad4e81acec4baa5165498f740ea78024d47007c3d1fc8ece0862405f04619da096f582aa338b410fa8a081f7'
7
+ data.tar.gz: 8866700ae106af20bbd742921834f4a3413b117ea9dbe3aad26ebfb54ea9a78e9ff89d96bc18c917c1e8b39cdad379f7dcac133c6827ada892834591eb600f38
@@ -14,7 +14,7 @@ module MpApi
14
14
 
15
15
  def rejected_payment_error
16
16
  return nil unless ['rejected'].include?(json_response['status'])
17
- [json_response['status_detail']]
17
+ [message_by_status_detail(json_response['status_detail'])]
18
18
  end
19
19
 
20
20
  def failed_payment_error
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MpApi
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
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.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - caio