Sha256: f5a713a7a0a942ece096dd19dbcc24c86ed4c65eec0aa4a8c7ead99771a1d50c
Contents?: true
Size: 417 Bytes
Versions: 8
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true module Quilt class PerformanceReportController < ActionController::Base include Quilt::Performance::Reportable protect_from_forgery with: :null_session def create process_report render(json: { result: 'success' }, status: 200) rescue ActionController::ParameterMissing => error render(json: { error: error.message, status: 422 }) end end end
Version data entries
8 entries across 8 versions & 1 rubygems