Class: CommunityZero::NotFoundEndpoint
- Defined in:
- lib/community_zero/endpoints/not_found_endpoint.rb
Overview
The general 404 endpoint.
Constant Summary
Constants inherited from Endpoint
Instance Attribute Summary
Attributes inherited from Endpoint
Instance Method Summary collapse
Methods inherited from Endpoint
#initialize, #store, #url_for, #version_url_for
Constructor Details
This class inherits a constructor from CommunityZero::Endpoint
Instance Method Details
#call(request) ⇒ Object
23 24 25 |
# File 'lib/community_zero/endpoints/not_found_endpoint.rb', line 23 def call(request) error("Object not found: #{request.env['REQUEST_PATH']}") end |