lib/brazil_cep/adapters.rb in brazil-cep-0.3.0 vs lib/brazil_cep/adapters.rb in brazil-cep-0.4.0
- old
+ new
@@ -7,15 +7,17 @@
# autoload default adapters
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"
# list of provider keys and classes
PROVIDERS = {
viacep: Viacep,
postmon: Postmon,
- republica_virtual: RepublicaVirtual
+ republica_virtual: RepublicaVirtual,
+ correios_web: CorreiosWeb
}
private_constant :PROVIDERS
# get providers