Sha256: ffab58ba9ecbb5c345512ee0ed342c82f831cb6c1e53527d8f43e7c6c7aa475f
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
module HttpEventLogger module Test module Driver class NetHTTP < HttpEventLogger::Test::Driver::Base def send_get_request Net::HTTP.get_response(@host, "#{@path}?#{@data}", @port) end def send_post_request http = Net::HTTP.new(@host, @port) http.post(@path, @data) end def send_post_form_request Net::HTTP.post_form(uri, @params) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems