Class: Rack::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/rufus/sixjo.rb

Instance Method Summary collapse

Instance Method Details

#content_type=(t) ⇒ Object



58
59
60
# File 'lib/rufus/sixjo.rb', line 58

def content_type= (t)
  header['Content-type'] = t
end

#location=(l) ⇒ Object



55
56
57
# File 'lib/rufus/sixjo.rb', line 55

def location= (l)
  header['Location'] = l
end