Exception: Jellyfish::Response
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Jellyfish::Response
- Defined in:
- lib/jellyfish.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#body ⇒ Object
23 24 25 |
# File 'lib/jellyfish.rb', line 23 def body @body ||= [File.read("#{Jellyfish.public_root}/#{status}.html")] end |
#headers ⇒ Object
19 20 21 |
# File 'lib/jellyfish.rb', line 19 def headers @headers ||= {'Content-Type' => 'text/html'} end |