Sha256: d4583a975905f0e9f6fbb1f2b106b4c28a486c94060777ae36a9ff933f1757fa
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 Bytes
Contents
require "ceplivre/version" require "ceplivre/configuration" require "httparty" module CepLivre class Cep include HTTParty def self.find(cep, format) self.get("http://ceplivre.com.br/consultar/cep/#{CepLivre::Configuration.key}/#{cep}/#{format}")["cep"] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ceplivre-0.0.3 | lib/ceplivre.rb |