_set_wrapper_options

_set_wrapper_options(options) Instance Public methods

inherited

inherited(klass) Instance Public methods Sets the default wrapper key or model which will be used to determine wrapper key and attribute names. Will be called automatically when the module is inherited.

wrap_parameters

wrap_parameters(name_or_model_or_options, options = {}) Instance Public methods Sets the name of the wrapper key, or the model which ParamsWrapper would use to determine the attribute names from. Examples wrap_parameters format: :xml # enables the parameter wrapper for XML format wrap_parameters :person # wraps parameters into +params[:person]+ hash wrap_parameters Person # wraps parameters by determining the wrapper key from Person class (+person+, in this case) and the

process_action

process_action(*args) Instance Public methods Performs parameters wrapping upon the request. Will be called automatically by the metal call stack.

dispatch

dispatch(action, request) Instance Public methods

reset_session

reset_session() Instance Public methods

response_body=

response_body=(body) Instance Public methods

inherited

inherited(klass) Instance Public methods

redirect_to

redirect_to(options = {}, response_status = {}) Instance Public methods Redirects the browser to the target specified in options. This parameter can take one of three forms: Hash - The URL will be generated by calling url_for with the options. Record - The URL will be generated by calling url_for with the options, which will reference a named URL for that record. String starting with protocol:// (like http://) or a protocol relative reference (like //) - Is passed straight thr

use_renderer

use_renderer(*args) Instance Public methods Alias for: use_renderers