Adding response method to MechanizeSession

This commit is contained in:
Bryan Helmkamp 2008-11-18 22:56:35 -05:00
parent 0dd7ea2ae0
commit ec8bc82c24
1 changed files with 4 additions and 0 deletions

View File

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