Adding response method to MechanizeSession

This commit is contained in:
Bryan Helmkamp 2008-11-18 22:56:35 -05:00
parent 0dd7ea2ae0
commit ec8bc82c24

View File

@ -28,6 +28,10 @@ module Webrat
@response = @mechanize.post(url, post_data) @response = @mechanize.post(url, post_data)
end end
def response
@response
end
def response_body def response_body
@response.content @response.content
end end