Sha256: 9887ccd265238218312d3bf1dc789a218d959c2feb2281100e18f78529f38e41
Contents?: true
Size: 886 Bytes
Versions: 5
Compression:
Stored size: 886 Bytes
Contents
module HttpEventLogger module Test module Driver class Base class << self def library_name self.name.demodulize end def is_libcurl? false end def expected_response_type nil end def expected_response_body "\n<html>" end end def initialize(host, port, path, protocol="http") @host = host @port = port @path = path @protocol = protocol @headers = { "accept" => "*/*", "foo" => "bar" } @data = "foo=bar&bar=foo" @params = { "foo" => 'bar', "bar" => "foo" } end def uri "#{@protocol}://#{@host}:#{@port}#{@path}" end def send_post_form_request end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems