lib/cep.rb in cep-0.0.7 vs lib/cep.rb in cep-0.0.8

- old
+ new

@@ -22,9 +22,9 @@ uri.query_values = params url = "#{Cep::URL}?#{uri.query}" end def query(params = {}) - uri = URI.parse(url(params)) - Net::HTTP.get_response(uri) + uri = URI(URL) + Net::HTTP.post_form(uri, params) end end \ No newline at end of file