Class: Webrat::SinatraSession
- Inherits:
-
RackSession
- Object
- Session
- RackSession
- Webrat::SinatraSession
- Includes:
- Sinatra::Test
- Defined in:
- lib/webrat/sinatra.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from Session
Method Summary
Methods inherited from RackSession
#response_body, #response_code
Methods inherited from Session
#automate, #basic_auth, #click_link_within, #current_dom, #current_page, #current_scope, #doc_root, #dom, #exception_caught?, #formatted_error, #header, #headers, #http_accept, #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
Constructor Details
This class inherits a constructor from Webrat::Session
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
18 19 20 |
# File 'lib/webrat/sinatra.rb', line 18 def request @request end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
18 19 20 |
# File 'lib/webrat/sinatra.rb', line 18 def response @response end |