Class: SiteHub::NilProxy

Inherits:
Object
  • Object
show all
Includes:
Resolver
Defined in:
lib/sitehub/nil_proxy.rb

Constant Summary collapse

NOT_FOUND =
Rack::Response.new(['page not found'], 404, {})

Instance Method Summary collapse

Methods included from Resolver

#resolve

Instance Method Details

#call(_env) ⇒ Object



7
8
9
# File 'lib/sitehub/nil_proxy.rb', line 7

def call(_env)
  NOT_FOUND
end