Class
Cuba::Response
In:
lib/cuba.rb
Parent:
Object
Methods
[]
[]=
delete_cookie
finish
new
redirect
set_cookie
write
Attributes
headers
[R]
status
[RW]
Public Class methods
new
(status = 200, headers = { "Content-Type" => "text/html" })
Public Instance methods
[]
(key)
[]=
(key, value)
delete_cookie
(key, value = {})
finish
()
redirect
(path, status = 302)
set_cookie
(key, value)
write
(str)
[Validate]