class API::Testing::RefreshReportingController
Public Instance Methods
Source
# File app/controllers/api/testing/refresh_reporting_controller.rb, line 4 def create if params[:wait].present? ReportingAPI::RefreshJob.perform_now render status: :ok else ReportingAPI::RefreshJob.perform_later render status: :accepted end end