Sha256: 34f5dfdc7924325e73296ae5a244c4adf28148b53a5fad93b60caa832b81ab58
Contents?: true
Size: 408 Bytes
Versions: 69
Compression:
Stored size: 408 Bytes
Contents
module HTTP class Request def webmock_signature request_body = if defined?(HTTP::Request::Body) ''.tap { |string| body.each { |part| string << part } } else body end ::WebMock::RequestSignature.new(verb, uri.to_s, { headers: headers.to_h, body: request_body }) end end end
Version data entries
69 entries across 69 versions & 5 rubygems