mp_api 0.3.9 → 0.3.10

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: 48502672bd54cbc042ef54a26dc316c50234c833ab5f31031c1579dcfc6ca653
4
- data.tar.gz: 9560c8e8acfb40c240bcbdc177c3d134bed092b9f4b442a22c29d4ff66856db8
3
+ metadata.gz: 3b265ed3302d5d615c952dca4e462f08969d811f9fbd391eb4708a9917297d23
4
+ data.tar.gz: b0b94e47834a218a9e5b8d8efe717637c5a29db8543a68a0037ecd47681678cd
5
5
  SHA512:
6
- metadata.gz: bae242985b66501ea05511ba97bf6b79f568058c9cf1771582034270f5b0ad6f064dc6be88f681604a19b8b6416152756b1878b736b59263d9f4cc26ead0c928
7
- data.tar.gz: e164962d26a36bbe9be7dba1301e84fcbdbb0637aef1755693d2d66af7ce513d0b9f5a3ddc9a6e940fde823084a797f33047cad973dcf0047af7814c49f7109c
6
+ metadata.gz: 7dc5029aeadf0b405c4202088e9eafe523602a19695243ed39536d5a9486f3d2279910531eada0cca3c07a45137020eb36800bdc3973bc581b1b4de22b544468
7
+ data.tar.gz: 24ca7ab51eb9c400d5381481f36357cceecebd3f7aba6bff9a3d705bb3762d609e28d7d3a43f44af6e81cc20d2b83b7199f54e56335828560e61f8ac3e82862b
@@ -38,7 +38,8 @@ module MpApi
38
38
 
39
39
  def message_by_error_message(error_message)
40
40
  {
41
- "Invalid user identification number" => "CPF inválido."
41
+ "Invalid user identification number" => "CPF inválido.",
42
+ "payer.email must be a valid email" => "E-mail inválido."
42
43
  # "Payer email forbidden" => "E-mail inválido.", Caso do erro no email test_user_2147198029@testuser.com (Nao sei se da pra causar com email valido)
43
44
  }[error_message]
44
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MpApi
4
- VERSION = "0.3.9"
4
+ VERSION = "0.3.10"
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.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - caio