Class: Webrat::RackSession

Inherits:
Session show all
Defined in:
lib/webrat/rack.rb

Overview

:nodoc:

Direct Known Subclasses

SinatraSession

Instance Attribute Summary

Attributes inherited from Session

#current_url, #elements

Instance Method Summary collapse

Methods inherited from Session

#automate, #basic_auth, #check_for_infinite_redirects, #click_link_within, #current_dom, #current_page, #current_scope, #doc_root, #dom, #exception_caught?, #formatted_error, #header, #headers, #http_accept, #infinite_redirect_limit_exceeded?, #initialize, #internal_redirect?, #page_scope, #redirect?, #redirected_to, #reload, #request_page, #scopes, #simulate, #success_code?, #visit, #within, #xml_content_type?

Methods included from SaveAndOpenPage

#doc_root, #open_in_browser, #rewrite_css_and_image_references, #save_and_open_page, #saved_page_dir

Methods included from Logging

#debug_log, #logger

Constructor Details

This class inherits a constructor from Webrat::Session

Instance Method Details

#response_bodyObject



16
17
18
# File 'lib/webrat/rack.rb', line 16

def response_body
  @response.body
end

#response_codeObject



20
21
22
# File 'lib/webrat/rack.rb', line 20

def response_code
  @response.status
end