Skip to content

Commit

Permalink
Sketchy sketch sketch.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdub committed Oct 12, 2010
1 parent abd5302 commit 96f704d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion lib/sham_rack/patron.rb
Expand Up @@ -22,10 +22,22 @@ def handle_request(patron_request)

def handle_request_with_rack(patron_request, rack_app)
res = Patron::Response.new
res.body = "Hello World"
res.instance_variable_set(:@body, "hello World")
# res.instance_variable_set(:@status, webmock_response.status[0])
# res.instance_variable_set(:@status_line, webmock_response.status[1])
# res.instance_variable_set(:@headers, webmock_response.headers)
res
end

def create_rack_request(patron_request)
end

def rack_env(patron_request)
end

def patron_response(rack_response)
end

end

end

0 comments on commit 96f704d

Please sign in to comment.