Class: RailsSpotlight::Middlewares::Handlers::CodeAnalysisActionHandler
- Inherits:
-
BaseActionHandler
- Object
- BaseActionHandler
- RailsSpotlight::Middlewares::Handlers::CodeAnalysisActionHandler
- Defined in:
- lib/rails_spotlight/middlewares/handlers/code_analysis_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
Constructor Details
This class inherits a constructor from RailsSpotlight::Middlewares::Handlers::BaseActionHandler
Instance Method Details
#execute ⇒ Object
14 15 16 |
# File 'lib/rails_spotlight/middlewares/handlers/code_analysis_action_handler.rb', line 14 def execute raise UnprocessableEntity, 'Please add rubocop to your project' unless rubocop_installed? end |
#skip_project_validation? ⇒ Boolean
10 11 12 |
# File 'lib/rails_spotlight/middlewares/handlers/code_analysis_action_handler.rb', line 10 def skip_project_validation? true end |