Module: Absolute::App
- Defined in:
- lib/absolute.rb
Class Method Summary collapse
Class Method Details
.call(env) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/absolute.rb', line 7 def call( env ) response = "absolute" headers = {} headers['Content-Length'] = response.length.to_s headers['Content-Type'] = "text/html" [200, headers, response] end |