correios-ws 4 → 5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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