lib/brazil_cep/adapters/postmon.rb in brazil-cep-0.1.0 vs lib/brazil_cep/adapters/postmon.rb in brazil-cep-0.2.0
- old
+ new
@@ -10,10 +10,10 @@
private
def transformation!
address_params = {
- cep: @payload[:cep],
+ zipcode: @payload[:cep],
state: @payload[:estado],
city: @payload[:cidade],
neighborhood: @payload[:bairro],
street: @payload[:logradouro],
complement: @payload[:complemento],