Class: Response::Redirect::Permanent

Inherits:
Response::Redirect show all
Defined in:
lib/response/redirect.rb

Overview

Response with default status code of 301

Constant Summary collapse

STATUS =
Status::MOVED_PERMANENTLY

Constants inherited from Response

TEXT_PLAIN, Undefined

Instance Attribute Summary

Attributes inherited from Response

#body, #headers, #status

Method Summary

Methods inherited from Response::Redirect

build

Methods inherited from Response

build, #cache_control, #content_type, #last_modified, #merge_headers, #rack_array, #to_rack_response, #valid?, #with_body, #with_headers, #with_status