Class: Webrat::SinatraSession

Inherits:
RackSession show all
Includes:
Sinatra::Test
Defined in:
lib/webrat/sinatra.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Attributes inherited from Session

#current_url, #elements

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

#debug_log, #logger

Constructor Details

This class inherits a constructor from Webrat::Session

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



18
19
20
# File 'lib/webrat/sinatra.rb', line 18

def request
  @request
end

#responseObject (readonly)

Returns the value of attribute response.



18
19
20
# File 'lib/webrat/sinatra.rb', line 18

def response
  @response
end