lib/brazil_cep/adapters.rb in brazil-cep-0.4.0 vs lib/brazil_cep/adapters.rb in brazil-cep-0.5.0

- old
+ new

@@ -8,16 +8,18 @@ autoload :Base, "brazil_cep/adapters/base" autoload :Viacep, "brazil_cep/adapters/viacep" autoload :Postmon, "brazil_cep/adapters/postmon" autoload :RepublicaVirtual, "brazil_cep/adapters/republica_virtual" autoload :CorreiosWeb, "brazil_cep/adapters/correios_web" + autoload :CepAberto, "brazil_cep/adapters/cep_aberto" # list of provider keys and classes PROVIDERS = { viacep: Viacep, postmon: Postmon, republica_virtual: RepublicaVirtual, - correios_web: CorreiosWeb + correios_web: CorreiosWeb, + cep_aberto: CepAberto } private_constant :PROVIDERS # get providers