Class: Quilt::PerformanceReportController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Quilt::PerformanceReportController
- Includes:
- Quilt::Performance::Reportable
- Defined in:
- app/controllers/quilt/performance_report_controller.rb
Instance Method Summary collapse
Methods included from Quilt::Performance::Reportable
Instance Method Details
#create ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/quilt/performance_report_controller.rb', line 8 def create process_report render json: { result: 'success' }, status: 200 rescue ActionController::ParameterMissing => error render json: { error: error., status: 422 } end |