Sha256: f9db9004613f2e96ccd8014afb504be6cb74519e2589ed7d2f3036e17c1bd379

Contents?: true

Size: 415 Bytes

Versions: 15

Compression:

Stored size: 415 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

15 entries across 15 versions & 1 rubygems

Version Path
quilt_rails-3.3.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-3.2.1 app/controllers/quilt/performance_report_controller.rb
quilt_rails-3.1.1 app/controllers/quilt/performance_report_controller.rb
quilt_rails-3.1.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-3.0.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-2.0.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.13.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.12.2 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.12.1 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.12.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.11.1 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.10.0 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.9.2 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.9.1 app/controllers/quilt/performance_report_controller.rb
quilt_rails-1.9.0 app/controllers/quilt/performance_report_controller.rb