Sha256: 3c20d4c8ae96f3e4f7d02fef998eb22dad1c30ab7b746f82f6d5abd236294876

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

class WebSystem::NotFoundRequest < WebSystem::Request

  def self.call env
    status = 404

    headers = {
      "Framework" => "Liza #{Lizarb::VERSION}"
    }

    body = "Client Error #{status} - #{env["LIZA_PATH"]}"

    [status, headers, [body]]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lizarb-1.0.5 lib/web_system/sub/request/requests/not_found_request.rb
lizarb-1.0.4 lib/web_system/web/controllers/request/not_found_request.rb
lizarb-1.0.3 lib/web_system/web/controllers/request/not_found_request.rb