Class: RailsSpotlight::Middlewares::Handlers::NotFoundActionHandler

Inherits:
BaseActionHandler
  • Object
show all
Defined in:
lib/rails_spotlight/middlewares/handlers/not_found_action_handler.rb

Constant Summary

Constants inherited from BaseActionHandler

BaseActionHandler::Forbidden, BaseActionHandler::IncorrectResponseContentType, BaseActionHandler::NotFound, BaseActionHandler::UnprocessableEntity

Instance Attribute Summary

Attributes inherited from BaseActionHandler

#content_type, #request, #request_id

Instance Method Summary collapse

Methods inherited from BaseActionHandler

#call, #initialize

Constructor Details

This class inherits a constructor from RailsSpotlight::Middlewares::Handlers::BaseActionHandler

Instance Method Details

#executeObject

Raises:



7
8
9
# File 'lib/rails_spotlight/middlewares/handlers/not_found_action_handler.rb', line 7

def execute
  raise NotFound, 'Not found'
end