Sha256: dae9f6965127cbc7f4a8691402fdf4fc1ada114ebf9436366f72aae5021c1309
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
module JsTestCore module Resources class FileNotFound attr_reader :name def initialize(name) @name = name end def get(request, response) response.status = 404 response.body = "Path #{name} not found. You may want to try the /#{WebRoot.dispatch_strategy} directory." end end end end
Version data entries
3 entries across 3 versions & 3 rubygems