correios-ws 4 → 5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/correios-ws.rb CHANGED
@@ -200,7 +200,7 @@ module Correios
200
200
  s.entrega_domiciliar = cservico['EntregaDomiciliar']
201
201
  s.entrega_sabado = cservico['EntregaSabado']
202
202
  #Informacoes de Erro
203
- s.error = cservico['Erro'] == 1
203
+ s.error = cservico['Erro'].to_s == '1'
204
204
  s.msg_error = cservico['MsgErro']
205
205
  end
206
206
  end
@@ -1,3 +1,3 @@
1
1
  module Correios
2
- VERSION = "4"
2
+ VERSION = "5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios-ws
3
3
  version: !ruby/object:Gem::Version
4
- version: '4'
4
+ version: '5'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: