Sha256: 6352bd92b3840125409aa8778b14fe20385e2e557a0f38f36ad79daf539350a6

Contents?: true

Size: 149 Bytes

Versions: 2

Compression:

Stored size: 149 Bytes

Contents

module PostmonRuby
  class Client
    def self.search(cep)
      PostmonRuby::Address.new( HTTParty.get("#{ENDPOINT}/cep/#{cep}") )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
postmon_ruby-1.0.1 lib/postmon_ruby/client.rb
postmon_ruby-1.0.0 lib/postmon_ruby/client.rb