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 +1 -1
- data/lib/correios-ws/version.rb +1 -1
- metadata +1 -1
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
|
data/lib/correios-ws/version.rb
CHANGED