get

get(action, *args) Instance Public methods Simulate a GET request with the given parameters. action: The controller action to call. parameters: The HTTP parameters that you want to pass. This may be nil, a hash, or a string that is appropriately encoded (application/x-www-form-urlencoded or multipart/form-data). session: A hash of parameters to store in the session. This may be nil. flash: A hash of parameters to store in the flash. This may be nil. You can also simulate

head

head(action, *args) Instance Public methods Simulate a HEAD request with the given parameters and set/volley the response. See get for more details.

paramify_values

paramify_values(hash_or_array_or_value) Instance Public methods

patch

patch(action, *args) Instance Public methods Simulate a PATCH request with the given parameters and set/volley the response. See get for more details.

post

post(action, *args) Instance Public methods Simulate a POST request with the given parameters and set/volley the response. See get for more details.

process

process(action, http_method = 'GET', *args) Instance Public methods

put

put(action, *args) Instance Public methods Simulate a PUT request with the given parameters and set/volley the response. See get for more details.

setup_controller_request_and_response

setup_controller_request_and_response() Instance Public methods

xhr

xhr(request_method, action, parameters = nil, session = nil, flash = nil) Instance Public methods Alias for: xml_http_request

xml_http_request

xml_http_request(request_method, action, parameters = nil, session = nil, flash = nil) Instance Public methods Also aliased as: xhr