Class: Hostess
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Hostess
- Defined in:
- lib/hostess.rb
Instance Method Summary collapse
Instance Method Details
#serve ⇒ Object
4 5 6 |
# File 'lib/hostess.rb', line 4 def serve send_file(File.(File.join(GeminaboxSecure.data, *request.path_info)), :type => response['Content-Type']) end |