lib/brazil_cep/adapters/viacep.rb in brazil-cep-0.1.0 vs lib/brazil_cep/adapters/viacep.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[:uf],
city: @payload[:localidade],
neighborhood: @payload[:bairro],
street: @payload[:logradouro],
complement: @payload[:complemento],