Sha256: 58a66759b70b69886d715a3a57a1cd7c31755f8087b6d6d0252814872edece87
Contents?: true
Size: 361 Bytes
Versions: 1
Compression:
Stored size: 361 Bytes
Contents
module Correios module CEP class AddressFinder def get(zipcode) response = web_service.request! zipcode parser.address response end private def web_service @web_service ||= Correios::CEP::WebService.new end def parser @parser ||= Correios::CEP::Parser.new end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
correios-cep-0.1.0 | lib/correios/cep/address_finder.rb |